Skip to content

Commit ef0f982

Browse files
committed
obfuscate callback return type so it compiles on 64-bit machines
1 parent e62d1e3 commit ef0f982

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/drivers/win/dumper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ bool DumperBnClicked(HWND hwndDlg, uint16 btnId, HWND hwndBtn)
336336
return false;
337337
}
338338

339-
BOOL CALLBACK DumperCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
339+
INT_PTR CALLBACK DumperCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
340340
{
341341
switch (uMsg)
342342
{

src/drivers/win/dumper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
#include <Windows.h>
44

5-
BOOL CALLBACK DumperCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
5+
INT_PTR CALLBACK DumperCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);

0 commit comments

Comments
 (0)