diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/protocols/protocols.cpp | 2 |
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 {
|