diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-03-31 05:32:30 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-03-31 05:32:30 +0000 |
commit | 20d1480ed78c9395749d5b4e198d8687f95220e6 (patch) | |
tree | e0bc7cc56035259c8c4e8d23f2a44b8d755971a3 /meta2/edit_meta.cpp | |
parent | 16585b5ae2a03ce326fdd45610199eb2061bdb7a (diff) |
x64 port
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@450 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'meta2/edit_meta.cpp')
-rw-r--r-- | meta2/edit_meta.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta2/edit_meta.cpp b/meta2/edit_meta.cpp index 839a15a..38edecc 100644 --- a/meta2/edit_meta.cpp +++ b/meta2/edit_meta.cpp @@ -109,7 +109,7 @@ void SetListSelection(HWND hList, int sel) { }
void ApplyChanges() {
- if(def >= 0 && def < metaMap[hMeta].size())
+ if(def >= 0 && def < (int)metaMap[hMeta].size())
MetaAPI_SetDefaultContactNum((WPARAM)hMeta, (LPARAM)def);
else
MetaAPI_SetDefaultContactNum((WPARAM)hMeta, (LPARAM)0);
@@ -189,7 +189,7 @@ INT_PTR CALLBACK Meta_EditDialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR case IDC_BTN_REM:
{
int index = SendDlgItemMessage(hwndDlg, IDC_LST_CONTACTS, LVM_GETNEXTITEM,-1,LVNI_FOCUSED|LVNI_SELECTED); // return item selected
- if(index >= 0 && index < subs.size()) {
+ if(index >= 0 && index < (int)subs.size()) {
subs.remove(subs[index].handle());
if(def >= index && def > 0) def--;
changed = true;
|