mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 286355 - Fixed char16_t/wchar_t mismatch for mingw.
--HG-- extra : rebase_source : 285d1e36261ceab4cdf1be09024c4b7dbf907fd9
This commit is contained in:
parent
ebad23c206
commit
428e13ecf5
@ -82,7 +82,7 @@ ProfileUnlockerWin::Init()
|
||||
return NS_ERROR_ILLEGAL_VALUE;
|
||||
}
|
||||
|
||||
nsModuleHandle module(::LoadLibraryW(MOZ_UTF16("Rstrtmgr.dll")));
|
||||
nsModuleHandle module(::LoadLibraryW(L"Rstrtmgr.dll"));
|
||||
if (!module) {
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
@ -110,7 +110,7 @@ ProfileUnlockerWin::Init()
|
||||
|
||||
mQueryFullProcessImageName =
|
||||
reinterpret_cast<QUERYFULLPROCESSIMAGENAME>(::GetProcAddress(
|
||||
::GetModuleHandleW(MOZ_UTF16("kernel32.dll")),
|
||||
::GetModuleHandleW(L"kernel32.dll"),
|
||||
"QueryFullProcessImageNameW"));
|
||||
if (!mQueryFullProcessImageName) {
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
|
Loading…
Reference in New Issue
Block a user