From 7c5ba0561609916f1876d886b589e0bc59f6a413 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Sep 2012 11:55:27 +0000 Subject: warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@1577 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/protocols/protocols.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit v1.2.3