Skip to content

Commit

Permalink
obfuscate callback return type so it compiles on 64-bit machines
Browse files Browse the repository at this point in the history
  • Loading branch information
warmCabin committed Jun 29, 2021
1 parent e62d1e3 commit ef0f982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/drivers/win/dumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ bool DumperBnClicked(HWND hwndDlg, uint16 btnId, HWND hwndBtn)
return false;
}

BOOL CALLBACK DumperCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
INT_PTR CALLBACK DumperCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/win/dumper.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

#include <Windows.h>

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

0 comments on commit ef0f982

Please sign in to comment.