From f60b3ec7a176b21f78bbe9011436e5b9932a8b28 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Fri, 3 Mar 2023 20:07:40 +0100 Subject: [PATCH] Fix MSVC error --- gfx/common/win32_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/common/win32_common.c b/gfx/common/win32_common.c index 18e6f60548..260e5757e9 100644 --- a/gfx/common/win32_common.c +++ b/gfx/common/win32_common.c @@ -953,8 +953,7 @@ static LRESULT CALLBACK wnd_proc_common( break; case WM_GETMINMAXINFO: { - MINMAXINFO FAR *lpMinMaxInfo; - lpMinMaxInfo = (MINMAXINFO FAR *)lparam; + MINMAXINFO FAR *lpMinMaxInfo = (MINMAXINFO FAR *)lparam; settings_t *settings = config_get_ptr(); unsigned min_width = MIN_WIDTH; unsigned min_height = MIN_HEIGHT;