summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/messages.cpp')
-rwxr-xr-xplugins/New_GPG/src/messages.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp
index 2d0ac82b36..e14fa6bc19 100755
--- a/plugins/New_GPG/src/messages.cpp
+++ b/plugins/New_GPG/src/messages.cpp
@@ -20,7 +20,7 @@ std::list<HANDLE> sent_msgs;
struct RecvParams
{
- RecvParams(MCONTACT _p1, std::wstring _p2, const char *_p3, DWORD _p4) :
+ RecvParams(MCONTACT _p1, std::wstring _p2, const char *_p3, uint32_t _p4) :
hContact(_p1),
str(_p2),
msg(_p3),
@@ -30,7 +30,7 @@ struct RecvParams
MCONTACT hContact;
std::wstring str;
std::string msg;
- DWORD timestamp;
+ uint32_t timestamp;
};
static void RecvMsgSvc_func(RecvParams *param)
@@ -501,7 +501,7 @@ INT_PTR RecvMsgSvc(WPARAM w, LPARAM l)
return 0;
}
-void SendMsgSvc_func(MCONTACT hContact, char *msg, DWORD flags)
+void SendMsgSvc_func(MCONTACT hContact, char *msg, uint32_t flags)
{
string str = msg;
if (g_plugin.bStripTags && g_plugin.bAppendTags) {
@@ -762,7 +762,7 @@ int HookSendMsg(WPARAM w, LPARAM l)
str_event.insert(0, toUTF8(globals.wszOutopentag.c_str()));
str_event.append(toUTF8(globals.wszOutclosetag.c_str()));
dbei->pBlob = (uint8_t*)mir_strdup(str_event.c_str());
- dbei->cbBlob = (DWORD)str_event.length() + 1;
+ dbei->cbBlob = (uint32_t)str_event.length() + 1;
}
return 0;