mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 286355 - Fixed char16_t/wchar_t mismatch for mingw.
--HG-- extra : rebase_source : 285d1e36261ceab4cdf1be09024c4b7dbf907fd9
This commit is contained in:
parent
cd7ba96e9d
commit
0193598bf5
@ -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