diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-27 15:15:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-27 15:15:33 +0000 |
commit | d6eee2018898f2442883a0aa77ad095b75572cfb (patch) | |
tree | 8fbfe32690b9b32e5d47b1958a02f6f6a5fbf000 /protocols/IcqOscarJ/src/userinfotab.cpp | |
parent | 2d37d969153b5fad810984182f747755c1cbc616 (diff) |
fix for 64-bit issues & warnings
git-svn-id: http://svn.miranda-ng.org/main/trunk@15043 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/userinfotab.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/userinfotab.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/userinfotab.cpp b/protocols/IcqOscarJ/src/userinfotab.cpp index 1b475a068b..75d2c8c054 100644 --- a/protocols/IcqOscarJ/src/userinfotab.cpp +++ b/protocols/IcqOscarJ/src/userinfotab.cpp @@ -51,10 +51,10 @@ static void SetValue(CIcqProto* ppro, HWND hwndDlg, int idCtrl, MCONTACT hContac dbv.type = DBVT_DELETED;
- if ((hContact == NULL) && ((int)szModule < 0x100)) {
+ if ((hContact == NULL) && ((INT_PTR)szModule < 0x100)) {
dbv.type = (BYTE)szModule;
- switch ((int)szModule) {
+ switch ((INT_PTR)szModule) {
case DBVT_BYTE:
dbv.cVal = (BYTE)szSetting;
break;
@@ -62,7 +62,7 @@ static void SetValue(CIcqProto* ppro, HWND hwndDlg, int idCtrl, MCONTACT hContac dbv.wVal = (WORD)szSetting;
break;
case DBVT_DWORD:
- dbv.dVal = (DWORD)szSetting;
+ dbv.dVal = (UINT_PTR)szSetting;
break;
case DBVT_ASCIIZ:
dbv.pszVal = pstr = szSetting;
|