diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_files.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_files.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_files.cpp b/protocols/VKontakte/src/vk_files.cpp index 9679d3e9b4..ba40af49e8 100644 --- a/protocols/VKontakte/src/vk_files.cpp +++ b/protocols/VKontakte/src/vk_files.cpp @@ -230,10 +230,10 @@ void CVkProto::OnReciveUploadServer(NETLIBHTTPREQUEST *reply, AsyncHttpRequest * pUploadReq->pData = pData;
pData += DataBegin.GetLength();
- size_t szBytes = fread(pData, 1, iFileLen, pFile);
+ long lBytes = fread(pData, 1, iFileLen, pFile);
fclose(pFile);
- if (szBytes != iFileLen) {
+ if (lBytes != iFileLen) {
SendFileFiled(fup, _T("ErrorReadFile"));
return;
}
|