From cddcd7483a7c472598af098e759e5d309024f606 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 20:31:39 +0300 Subject: DWORD -> uint32_t --- plugins/StopSpamPlus/src/events.cpp | 2 +- plugins/StopSpamPlus/src/services.cpp | 2 +- plugins/StopSpamPlus/src/settings.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/StopSpamPlus') diff --git a/plugins/StopSpamPlus/src/events.cpp b/plugins/StopSpamPlus/src/events.cpp index b13bd5c0af..10f69769ac 100644 --- a/plugins/StopSpamPlus/src/events.cpp +++ b/plugins/StopSpamPlus/src/events.cpp @@ -137,7 +137,7 @@ int OnDbEventFilterAdd(WPARAM w, LPARAM l) // increment question count - DWORD questCount = g_plugin.getDword(hContact, DB_KEY_QUESTCOUNT); + uint32_t questCount = g_plugin.getDword(hContact, DB_KEY_QUESTCOUNT); g_plugin.setDword(hContact, DB_KEY_QUESTCOUNT, questCount + 1); } diff --git a/plugins/StopSpamPlus/src/services.cpp b/plugins/StopSpamPlus/src/services.cpp index 8e40075c64..4a9a0417de 100644 --- a/plugins/StopSpamPlus/src/services.cpp +++ b/plugins/StopSpamPlus/src/services.cpp @@ -31,7 +31,7 @@ INT_PTR RemoveTempContacts(WPARAM, LPARAM lParam) char *szProto = Proto_GetBaseAccountName(hContact); if (szProto != nullptr) { // Check if protocol uses server side lists - DWORD caps = CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_1, 0); + uint32_t caps = CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_1, 0); if (caps & PF1_SERVERCLIST) { int status = Proto_GetStatus(szProto); if (status == ID_STATUS_OFFLINE || IsStatusConnecting(status)) diff --git a/plugins/StopSpamPlus/src/settings.h b/plugins/StopSpamPlus/src/settings.h index 7d3e3218cb..42a7f2125d 100644 --- a/plugins/StopSpamPlus/src/settings.h +++ b/plugins/StopSpamPlus/src/settings.h @@ -7,7 +7,7 @@ struct Settings CMOption InfTalkProtection, AddPermanent, HandleAuthReq, AnswNotCaseSens, RemTmpAll, HistLog; CMOption Question, AuthRepl, Answer, Congratulation, AnswSplitString; CMOption DisabledProtoList; - CMOption MaxQuestCount; + CMOption MaxQuestCount; const wchar_t* getQuestion(); const wchar_t* getReply(); -- cgit v1.2.3