Fix x64 build error

This commit is contained in:
Don HO 2021-05-11 04:27:13 +02:00
parent c230ccf1bd
commit a0f2586102
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}