Skip to content

Commit

Permalink
Fix x64 build error
Browse files Browse the repository at this point in the history
  • Loading branch information
donho committed May 11, 2021
1 parent c230ccf commit a0f2586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerEditor/src/WinControls/Preference/preferenceDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ INT_PTR CALLBACK PreferenceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM
if (!lParam)
return FALSE;

bool isChecked = _generalSubDlg.isCheckedOrNot(wParam);
bool isChecked = _generalSubDlg.isCheckedOrNot(static_cast<int>(wParam));
*((bool*)lParam) = isChecked;
return TRUE;
}
Expand Down

0 comments on commit a0f2586

Please sign in to comment.