diff options
-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;
|