From 8d463f89f1918b820ae3b0c2455ad9f27b6a8b27 Mon Sep 17 00:00:00 2001 From: kkard2 Date: Mon, 8 Sep 2025 20:04:11 +0200 Subject: fix errors (?) --- platform_win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform_win32.c') diff --git a/platform_win32.c b/platform_win32.c index 8374128..e3563b5 100644 --- a/platform_win32.c +++ b/platform_win32.c @@ -62,7 +62,7 @@ void redirect_io_to_console() { setvbuf(stdin, NULL, _IONBF, 0); } -LRESULT WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { +LRESULT __stdcall WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch (uMsg) { case WM_DESTROY: { PostQuitMessage(0); @@ -79,7 +79,7 @@ LRESULT WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { } } -int WinMain( +int __stdcall WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, -- cgit v1.3.1