Skip to content

Commit

Permalink
Fix crash in CEF (PR #3135)
Browse files Browse the repository at this point in the history
Addendum to commit 9980252
  • Loading branch information
TheNormalnij committed Jul 30, 2023
1 parent 1bf5911 commit c782826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shared/sdk/SharedUtil.Misc.hpp
Expand Up @@ -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
Expand Down

0 comments on commit c782826

Please sign in to comment.