diff options
Diffstat (limited to 'updater/options.cpp')
-rw-r--r-- | updater/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/updater/options.cpp b/updater/options.cpp index 926fbdd..4bef93e 100644 --- a/updater/options.cpp +++ b/updater/options.cpp @@ -82,7 +82,7 @@ static int EnumerateFuncFillList(char *szComponentName, UpdateOptions *update_op return 0;
}
-static BOOL CALLBACK DlgProcOpts1(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
+static INT_PTR CALLBACK DlgProcOpts1(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
switch ( msg ) {
case WM_INITDIALOG:
@@ -375,7 +375,7 @@ static BOOL CALLBACK DlgProcOpts1(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM return FALSE;
}
-static BOOL CALLBACK DlgProcOpts2(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
+static INT_PTR CALLBACK DlgProcOpts2(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
switch ( msg ) {
case WM_INITDIALOG:
@@ -664,7 +664,7 @@ void SaveOptions() { if(p) *p = 0;
}
- unsigned int mp_len = _tcslen(mir_path);
+ size_t mp_len = _tcslen(mir_path);
// remove mir_path from the front of folder names, so that profile can be moved
if(_tcslen(options.backup_folder) > mp_len && _tcsncmp(options.backup_folder, mir_path, mp_len) == 0) {
|