summaryrefslogtreecommitdiff
path: root/updater/options.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-29 19:22:32 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-29 19:22:32 +0000
commit811039b40796ba732b12b5d2dfb52111980569ac (patch)
treeacf84c2a6063e28a987a257ce1d34382af1ce279 /updater/options.cpp
parent0c7c7a21cba95444a5253f29caa8973dcd66befd (diff)
x64 port
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@446 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/options.cpp')
-rw-r--r--updater/options.cpp6
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) {