Skip to content
Snippets Groups Projects
Commit 4eaccd0a authored by svornost's avatar svornost
Browse files

Fixes for CEF 116

parent 3f504be1
No related branches found
No related tags found
1 merge request!11476Fixes
......@@ -52,7 +52,7 @@ bool FCHostStorageHandler::Execute(const CefString& name, CefRefPtr<CefV8Value>
if (name == "size") {
// no arguments
retval = CefV8Value::CreateInt(static_cast<int32>(storage->size()));
retval = CefV8Value::CreateInt(static_cast<int32_t>(storage->size()));
return true;
}
else if (name == "keys") {
......
......@@ -9,7 +9,7 @@ void cef_string_from_path(const std::filesystem::path& p, cef_string_t* str)
{
const auto& pstr = p.native();
#if defined(OS_WIN)
cef_string_from_utf16(pstr.c_str(), pstr.size(), str);
cef_string_from_wide(pstr.c_str(), pstr.size(), str);
#else
cef_string_from_utf8(pstr.c_str(), pstr.size(), str);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment