summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-16 11:55:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-16 11:55:27 +0000
commit7c5ba0561609916f1876d886b589e0bc59f6a413 (patch)
tree27bb0d74860412037f04a85c59f42caec10cb067 /src
parent5161fd3fe53b85f579cfece81e25b562f1fa56ae (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1577 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/modules/protocols/protocols.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/protocols/protocols.cpp b/src/modules/protocols/protocols.cpp
index fb3c33e644..44b2f514bb 100644
--- a/src/modules/protocols/protocols.cpp
+++ b/src/modules/protocols/protocols.cpp
@@ -161,7 +161,7 @@ static INT_PTR Proto_RecvMessage(WPARAM, LPARAM lParam)
if (pre->flags & PREF_UNICODE) {
pszTemp = mir_utf8encodeT(pre->tszMessage);
dbei.pBlob = (PBYTE)(char*)pszTemp;
- dbei.cbBlob = strlen(pszTemp) + 1;
+ dbei.cbBlob = (DWORD)strlen(pszTemp) + 1;
dbei.flags |= DBEF_UTF;
}
else {