From c782826c955dfbdbaa67852a245e1c601d6b9f2c Mon Sep 17 00:00:00 2001 From: Uladzislau Nikalayevich Date: Sun, 30 Jul 2023 14:55:29 +0300 Subject: [PATCH] Fix crash in CEF (PR #3135) Addendum to commit 9980252446a6869609b1afa1ae1168282a99cb17 --- Shared/sdk/SharedUtil.Misc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/sdk/SharedUtil.Misc.hpp b/Shared/sdk/SharedUtil.Misc.hpp index daa8875f4a..ed789460d1 100644 --- a/Shared/sdk/SharedUtil.Misc.hpp +++ b/Shared/sdk/SharedUtil.Misc.hpp @@ -1504,7 +1504,7 @@ std::string SharedUtil::UTF16ToMbUTF8(const wchar_t* input) std::string SharedUtil::UTF16ToMbUTF8(const char16_t* input) { - return UTF16ToMbUTF8(input); + return UTF16ToMbUTF8((const wchar_t*)input); } // Get UTF8 confidence