summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_files.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-27 19:39:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-27 19:39:18 +0000
commiteefe0a2e6705204b0fdbb0bc5b798d9f4e6b67b1 (patch)
tree8ecfed6b1fcfdab0d958c64fa02cc403099c9415 /protocols/VKontakte/src/vk_files.cpp
parent2f4b5f66013aebc1e3372f57ac42bde990047f69 (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11928 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_files.cpp')
-rw-r--r--protocols/VKontakte/src/vk_files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_files.cpp b/protocols/VKontakte/src/vk_files.cpp
index 4f46bd54ce..51ac03888c 100644
--- a/protocols/VKontakte/src/vk_files.cpp
+++ b/protocols/VKontakte/src/vk_files.cpp
@@ -230,7 +230,7 @@ void CVkProto::OnReciveUploadServer(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *
pUploadReq->pData = pData;
pData += DataBegin.GetLength();
- long lBytes = fread(pData, 1, iFileLen, pFile);
+ long lBytes = (long)fread(pData, 1, iFileLen, pFile);
fclose(pFile);
if (lBytes != iFileLen) {