1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 07:45:39 +00:00

Fix signed/unsigned mismatch

This commit is contained in:
AnyOldName3 2021-12-20 22:13:11 +00:00
parent c746a8abb7
commit fe1523d16d

View file

@ -164,7 +164,7 @@ namespace Crash
if (frozen)
{
TerminateProcess(mAppProcessHandle, -1);
TerminateProcess(mAppProcessHandle, 0xDEAD);
std::string message = "OpenMW appears to have frozen.\nCrash log saved to '" + std::string(mShm->mStartup.mLogFilePath) + "'.\nPlease report this to https://gitlab.com/OpenMW/openmw/issues !";
SDL_ShowSimpleMessageBox(0, "Fatal Error", message.c_str(), nullptr);
}