From b43dcf000f703e3ef421350f74208cf4c7cdea77 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Jul 2012 17:43:23 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@979 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Gadu-Gadu/services.cpp') diff --git a/protocols/Gadu-Gadu/services.cpp b/protocols/Gadu-Gadu/services.cpp index 921553fadb..a172d10609 100644 --- a/protocols/Gadu-Gadu/services.cpp +++ b/protocols/Gadu-Gadu/services.cpp @@ -116,7 +116,7 @@ int GGPROTO::refreshstatus(int status) LeaveCriticalSection(&sess_mutex); } // Change status of the contact with our own UIN (if got yourself added to the contact list) - changecontactstatus(db_get_b(NULL, m_szModuleName, GG_KEY_UIN, 0), status_m2gg(status, szMsg != NULL), szMsg, 0, 0, 0, 0); + changecontactstatus( db_get_dw(NULL, m_szModuleName, GG_KEY_UIN, 0), status_m2gg(status, szMsg != NULL), szMsg, 0, 0, 0, 0); broadcastnewstatus(status); mir_free(szMsg); } @@ -172,7 +172,7 @@ INT_PTR GGPROTO::getavatarinfo(WPARAM wParam, LPARAM lParam) char *AvatarURL = NULL; INT_PTR result = GAIR_NOAVATAR; DBVARIANT dbv; - uin_t uin = (uin_t)db_get_b(pai->hContact, m_szModuleName, GG_KEY_UIN, 0); + uin_t uin = (uin_t)db_get_dw(pai->hContact, m_szModuleName, GG_KEY_UIN, 0); netlog("gg_getavatarinfo(): Requesting avatar information for %d.", uin); -- cgit v1.2.3