summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/GTalkExt/src/db.cpp')
-rw-r--r--protocols/GTalkExt/src/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/GTalkExt/src/db.cpp b/protocols/GTalkExt/src/db.cpp
index a652babe49..661bce4409 100644
--- a/protocols/GTalkExt/src/db.cpp
+++ b/protocols/GTalkExt/src/db.cpp
@@ -42,7 +42,7 @@ void RenewPseudocontactHandles()
db_unset(0, protos[i]->szModuleName, "GMailExtNotifyContact"); // remove this
}
- for (HANDLE hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) {
+ for (HCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) {
if (db_get_b(hContact, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0)) {
LPCSTR proto = (LPCSTR)GetContactProto(hContact);
db_set_dw(NULL, proto, PSEUDOCONTACT_LINK, (DWORD)hContact);