Replace obsolete calling convention

This commit is contained in:
Ben Payne 2014-11-11 15:19:26 -05:00
parent dc780ddcae
commit a3f4adacc3
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ bool getDllName(std::wstring& dllName, const std::wstring suffix)
return true;
}
int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCommandShow)
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCommandShow)
{
// Try to find the game DLL, which may have one of several file names.
HMODULE hGame = NULL;