compiler complains that WinMain must be __stdcall

This commit is contained in:
Ondrej Novak 2025-02-08 20:23:56 +01:00
parent d13297e4f4
commit e78b79bbd8

View file

@ -90,7 +90,7 @@ int main(int argc, char **argv) {
}
int WinMain(HINSTANCE,HINSTANCE ,LPSTR, INT) {
int __stdcall WinMain(HINSTANCE,HINSTANCE ,LPSTR, INT) {
int argc;
LPWSTR *szArglist = CommandLineToArgvW(GetCommandLineW(), &argc);