From 48dd585af3311ef3e51bf081c37e61b56199a455 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 5 Feb 2017 21:11:38 +0300 Subject: fix for the incorrect UIN assignment --- protocols/IcqOscarJ/src/fam_04message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/IcqOscarJ/src/fam_04message.cpp b/protocols/IcqOscarJ/src/fam_04message.cpp index ff2438da29..a86ee63662 100644 --- a/protocols/IcqOscarJ/src/fam_04message.cpp +++ b/protocols/IcqOscarJ/src/fam_04message.cpp @@ -1628,7 +1628,7 @@ void CIcqProto::handleMessageTypes(DWORD dwUin, char *szUID, DWORD dwTimestamp, } { DB_AUTH_BLOB blob(hContact, pszMsgField[0], pszMsgField[1], pszMsgField[2], pszMsgField[3], pszMsgField[5]); - *(PBYTE)blob = dwUin; + *(DWORD*)(PBYTE)blob = dwUin; PROTORECVEVENT pre = { 0 }; pre.timestamp = dwTimestamp; -- cgit v1.2.3