Skip to content

Commit

Permalink
Case to hwnd
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Jan 7, 2025
1 parent 96f2bc2 commit 647a184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ LRESULT CALLBACK Application::WindowProc(
break;

case WM_CTLCOLORSTATIC: {
if (!(LOWORD(wParam) == app->state))
if (!(HWND)(wParam) == app->state))
break;

HDC hdc_static = (HDC)wParam;
Expand Down

0 comments on commit 647a184

Please sign in to comment.