Index: src/ch/UpdaterDlg.cpp =================================================================== diff -u -N -r9ea1e103b5fa4ddfebf8028f121ce16e917eec04 -r7972b0944e0a947144fbdb93262f7d73ac528dc7 --- src/ch/UpdaterDlg.cpp (.../UpdaterDlg.cpp) (revision 9ea1e103b5fa4ddfebf8028f121ce16e917eec04) +++ src/ch/UpdaterDlg.cpp (.../UpdaterDlg.cpp) (revision 7972b0944e0a947144fbdb93262f7d73ac528dc7) @@ -73,9 +73,9 @@ LOG_DEBUG(str); str.Format(_T("url.dll,FileProtocolHandler %s"), (PCTSTR)strDownloadAddr); - ulong_t ulRes = (ulong_t)ShellExecute(NULL, _T("open"), _T("rundll32.exe"), str, NULL, SW_SHOW); + ULONG_PTR ulRes = (ULONG_PTR)ShellExecute(nullptr, _T("open"), _T("rundll32.exe"), str, nullptr, SW_SHOW); - str.Format(_T("ShellExecute returned %lu"), ulRes); + str.Format(_T("ShellExecute returned %I64u"), (unsigned long long)ulRes); LOG_DEBUG(str); // close the dialog if succeeded; 32 is some arbitrary value from ms docs