зеркало из https://github.com/mozilla/gecko-dev.git
Bug 286355 - Fixed char16_t/wchar_t mismatch for mingw.
--HG-- extra : rebase_source : 285d1e36261ceab4cdf1be09024c4b7dbf907fd9
This commit is contained in:
Родитель
cd7ba96e9d
Коммит
0193598bf5
|
@ -82,7 +82,7 @@ ProfileUnlockerWin::Init()
|
||||||
return NS_ERROR_ILLEGAL_VALUE;
|
return NS_ERROR_ILLEGAL_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
nsModuleHandle module(::LoadLibraryW(MOZ_UTF16("Rstrtmgr.dll")));
|
nsModuleHandle module(::LoadLibraryW(L"Rstrtmgr.dll"));
|
||||||
if (!module) {
|
if (!module) {
|
||||||
return NS_ERROR_NOT_AVAILABLE;
|
return NS_ERROR_NOT_AVAILABLE;
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,7 @@ ProfileUnlockerWin::Init()
|
||||||
|
|
||||||
mQueryFullProcessImageName =
|
mQueryFullProcessImageName =
|
||||||
reinterpret_cast<QUERYFULLPROCESSIMAGENAME>(::GetProcAddress(
|
reinterpret_cast<QUERYFULLPROCESSIMAGENAME>(::GetProcAddress(
|
||||||
::GetModuleHandleW(MOZ_UTF16("kernel32.dll")),
|
::GetModuleHandleW(L"kernel32.dll"),
|
||||||
"QueryFullProcessImageNameW"));
|
"QueryFullProcessImageNameW"));
|
||||||
if (!mQueryFullProcessImageName) {
|
if (!mQueryFullProcessImageName) {
|
||||||
return NS_ERROR_NOT_AVAILABLE;
|
return NS_ERROR_NOT_AVAILABLE;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче