summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/Modules/m_message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/Modules/m_message.cpp')
-rw-r--r--plugins/MirLua/src/Modules/m_message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/Modules/m_message.cpp b/plugins/MirLua/src/Modules/m_message.cpp
index 42e1de78c0..00b6b4c629 100644
--- a/plugins/MirLua/src/Modules/m_message.cpp
+++ b/plugins/MirLua/src/Modules/m_message.cpp
@@ -38,7 +38,7 @@ static int message_Send(lua_State *L)
dbei.szModule = MODULENAME;
dbei.timestamp = time(0);
dbei.eventType = EVENTTYPE_MESSAGE;
- dbei.cbBlob = (DWORD)mir_strlen(message);
+ dbei.cbBlob = (uint32_t)mir_strlen(message);
dbei.pBlob = (uint8_t*)mir_strdup(message);
dbei.flags = DBEF_UTF | DBEF_SENT;
db_event_add(hContact, &dbei);