diff options
Diffstat (limited to 'src/core/stdfile/file.cpp')
-rw-r--r-- | src/core/stdfile/file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdfile/file.cpp b/src/core/stdfile/file.cpp index 5e5b32da4d..10a6269869 100644 --- a/src/core/stdfile/file.cpp +++ b/src/core/stdfile/file.cpp @@ -358,9 +358,9 @@ static void sttRecvCreateBlob(DBEVENTINFO &dbei, int fileCount, char **pszFiles, dbei.cbBlob = sizeof(DWORD);
for (int i = 0; i < fileCount; i++)
- dbei.cbBlob += mir_strlen(pszFiles[i]) + 1;
+ dbei.cbBlob += (int)mir_strlen(pszFiles[i]) + 1;
- dbei.cbBlob += mir_strlen(szDescr) + 1;
+ dbei.cbBlob += (int)mir_strlen(szDescr) + 1;
if ((dbei.pBlob = (BYTE*)mir_alloc(dbei.cbBlob)) == 0)
return;
|