diff options
author | George Hazan <george.hazan@gmail.com> | 2016-08-23 15:59:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-08-23 15:59:10 +0000 |
commit | f71df387132c5a91ae4c064ac7da5e8c616af5b2 (patch) | |
tree | bb9244f38b62a2674ebb7ea111abb3568ead80df /protocols | |
parent | a69ec13dfad93e5995b589f96b113ac8c1774c79 (diff) |
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@17204 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-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 f58065619b..607aa13da3 100644 --- a/protocols/IcqOscarJ/src/userinfotab.cpp +++ b/protocols/IcqOscarJ/src/userinfotab.cpp @@ -52,14 +52,14 @@ static void SetValue(CIcqProto* ppro, HWND hwndDlg, int idCtrl, MCONTACT hContac dbv.type = DBVT_DELETED;
if ((hContact == NULL) && ((INT_PTR)szModule < 0x100)) {
- dbv.type = (BYTE)szModule;
+ dbv.type = (INT_PTR)szModule;
switch ((INT_PTR)szModule) {
case DBVT_BYTE:
- dbv.cVal = (BYTE)szSetting;
+ dbv.cVal = (INT_PTR)szSetting;
break;
case DBVT_WORD:
- dbv.wVal = (WORD)szSetting;
+ dbv.wVal = (INT_PTR)szSetting;
break;
case DBVT_DWORD:
dbv.dVal = (UINT_PTR)szSetting;
|