diff options
Diffstat (limited to 'protocols/IcqOscarJ/src')
-rw-r--r-- | protocols/IcqOscarJ/src/fam_04message.cpp | 2 | ||||
-rw-r--r-- | protocols/IcqOscarJ/src/fam_13servclist.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/fam_04message.cpp b/protocols/IcqOscarJ/src/fam_04message.cpp index a86ee63662..25ed7614d9 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]);
- *(DWORD*)(PBYTE)blob = dwUin;
+ blob.set_uin(dwUin);
PROTORECVEVENT pre = { 0 };
pre.timestamp = dwTimestamp;
diff --git a/protocols/IcqOscarJ/src/fam_13servclist.cpp b/protocols/IcqOscarJ/src/fam_13servclist.cpp index 3e7b1004db..4d7e78c0b4 100644 --- a/protocols/IcqOscarJ/src/fam_13servclist.cpp +++ b/protocols/IcqOscarJ/src/fam_13servclist.cpp @@ -1392,7 +1392,7 @@ void CIcqProto::handleRecvAuthRequest(unsigned char *buf, size_t wLen) szNick = null_strdup(szUid); DB_AUTH_BLOB blob(hContact, szNick, 0, 0, 0, szReason); - *(DWORD*)(PBYTE)blob = dwUin; + blob.set_uin(dwUin); setByte(hContact, "Grant", 1); |