https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1e06be778b9ab9cceacbe…
commit 1e06be778b9ab9cceacbe560ac46032524da7e8b
Author: Joachim Henze <joachim.henze(a)reactos.org>
AuthorDate: Mon Sep 18 12:22:59 2023 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Sep 18 10:22:59 2023 +0000
[IMAGELISTVIEWER] Avoid (DLGPROC) cast (#5697)
---
modules/rostests/tests/Imagelistviewer/main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/rostests/tests/Imagelistviewer/main.c
b/modules/rostests/tests/Imagelistviewer/main.c
index f2832906894..72510717bdc 100644
--- a/modules/rostests/tests/Imagelistviewer/main.c
+++ b/modules/rostests/tests/Imagelistviewer/main.c
@@ -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);
}