Bug 1256027 - Windows, why you gotta hate. r=scumbag-windows in a CLOSED TREE

This commit is contained in:
Jeff Walden 2016-03-23 18:40:01 -07:00
Родитель edb70c82c6
Коммит 7192c2be5a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -289,7 +289,7 @@ WinLaunchChild(const wchar_t *exePath,
(LPTSTR) &lpMsgBuf,
0,
nullptr);
wprintf(L"Error restarting: %s\n", lpMsgBuf ? static_cast<LPTSTR>(lpMsgBuf) : L"(null)");
wprintf(L"Error restarting: %s\n", lpMsgBuf ? static_cast<const wchar_t*>(lpMsgBuf) : L"(null)");
if (lpMsgBuf)
LocalFree(lpMsgBuf);
}