diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-30 22:25:07 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-30 22:25:07 +0000 |
commit | fc62f1f1e1f8af40a1f7efe0ba3afc358fb66ef3 (patch) | |
tree | 59fffc30bf8c4ead07742bdeceecb1d3e991c8e5 /src/core/stdfile | |
parent | cc8010159eb49e389124c5fab3ed9ee0ec948d2a (diff) |
more warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11183 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdfile')
-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;
|