From 811039b40796ba732b12b5d2dfb52111980569ac Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Sun, 29 Mar 2009 19:22:32 +0000 Subject: x64 port git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@446 4f64403b-2f21-0410-a795-97e2b3489a10 --- updater/options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'updater/options.cpp') 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) { -- cgit v1.2.3