summaryrefslogtreecommitdiff
path: root/protocols/Twitter/ui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-10 10:44:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-10 10:44:04 +0000
commit8c2cf8fada9a01f749f6f96f177fdb1f590e5393 (patch)
treee3ad5464a1df2ab255102c477df2360f4aba6778 /protocols/Twitter/ui.cpp
parentddf46f560f63f43aedc6464edad759cc3a711d4b (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/ui.cpp')
-rw-r--r--protocols/Twitter/ui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Twitter/ui.cpp b/protocols/Twitter/ui.cpp
index 588e73d502..872d5feb1e 100644
--- a/protocols/Twitter/ui.cpp
+++ b/protocols/Twitter/ui.cpp
@@ -350,7 +350,7 @@ namespace popup_options
return GetSysColor(COLOR_WINDOWTEXT);
}
else if(IsDlgButtonChecked(hwndDlg,IDC_COL_CUSTOM))
- return SendDlgItemMessage(hwndDlg,IDC_COLTEXT,CPM_GETCOLOUR,0,0);
+ return (COLORREF)SendDlgItemMessage(hwndDlg,IDC_COLTEXT,CPM_GETCOLOUR,0,0);
else // Default checked (probably)
return 0;
}
@@ -365,7 +365,7 @@ namespace popup_options
return GetSysColor(COLOR_WINDOW);
}
else if(IsDlgButtonChecked(hwndDlg,IDC_COL_CUSTOM))
- return SendDlgItemMessage(hwndDlg,IDC_COLBACK,CPM_GETCOLOUR,0,0);
+ return (COLORREF)SendDlgItemMessage(hwndDlg,IDC_COLBACK,CPM_GETCOLOUR,0,0);
else // Default checked (probably)
return 0;
}
@@ -394,7 +394,7 @@ namespace popup_options
// Pick a random contact
HANDLE hContact = 0;
- int n_contacts = CallService(MS_DB_CONTACT_GETCOUNT,0,0);
+ int n_contacts = (int)CallService(MS_DB_CONTACT_GETCOUNT,0,0);
if(n_contacts != 0)
{