From f71df387132c5a91ae4c064ac7da5e8c616af5b2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Aug 2016 15:59:10 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@17204 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/userinfotab.cpp | 6 +++--- 1 file 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; -- cgit v1.2.3