[IMAGELISTVIEWER] Avoid (DLGPROC) cast (#5697)
authorJoachim Henze <joachim.henze@reactos.org>
Mon, 18 Sep 2023 10:22:59 +0000 (12:22 +0200)
committerGitHub <noreply@github.com>
Mon, 18 Sep 2023 10:22:59 +0000 (10:22 +0000)
modules/rostests/tests/Imagelistviewer/main.c

index f283290..7251071 100644 (file)
@@ -88,8 +88,7 @@ DisplayImageList(HWND hwnd,
     return TRUE;
 }
 
-
-BOOL CALLBACK
+INT_PTR CALLBACK
 DlgProc(HWND hwnd,
         UINT message,
         WPARAM wParam,
@@ -142,5 +141,5 @@ WinMain(HINSTANCE hThisInstance,
     return DialogBox(hThisInstance,
                      MAKEINTRESOURCE(IDD_IMGLST),
                      NULL,
-                     (DLGPROC)DlgProc);
+                     DlgProc);
 }