summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/globals.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-01 21:43:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-01 21:43:00 +0000
commita4570b58a7efb3b61db6d03b86d51d7be85a5f03 (patch)
tree059840bb704c9553a3c1c94514359b431231fcb3 /plugins/Scriver/src/globals.cpp
parent585bd37dd3830d07c1d20b492fe0d4a84201b09a (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@11204 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/globals.cpp')
-rw-r--r--plugins/Scriver/src/globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/globals.cpp b/plugins/Scriver/src/globals.cpp
index 719d5a5b69..ca0174e65e 100644
--- a/plugins/Scriver/src/globals.cpp
+++ b/plugins/Scriver/src/globals.cpp
@@ -150,7 +150,7 @@ static int ackevent(WPARAM wParam, LPARAM lParam)
dbei.flags |= DBEF_UTF;
dbei.szModule = GetContactProto(hContact);
dbei.timestamp = time(NULL);
- dbei.cbBlob = mir_strlen(item->sendBuffer) + 1;
+ dbei.cbBlob = (int)mir_strlen(item->sendBuffer) + 1;
if (!(item->flags & PREF_UTF))
dbei.cbBlob *= sizeof(TCHAR) + 1;
dbei.pBlob = (PBYTE)item->sendBuffer;