diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-02-15 10:57:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-02-15 10:57:54 +0000 |
commit | 58f3f2d387c7b3a020eaf4f0b30bf70522adcfad (patch) | |
tree | 0e09137c3b8b84a79616a9c65df9eacff377d777 /protocols/Tox/src/tox_profile.cpp | |
parent | 60b391e2a55749c0cf9e96f53515673a0898a0d5 (diff) |
code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_profile.cpp')
-rw-r--r-- | protocols/Tox/src/tox_profile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_profile.cpp b/protocols/Tox/src/tox_profile.cpp index 9a1c2fc51b..9bb69f6289 100644 --- a/protocols/Tox/src/tox_profile.cpp +++ b/protocols/Tox/src/tox_profile.cpp @@ -41,7 +41,7 @@ bool CToxProto::LoadToxProfile() }
uint8_t *data = (uint8_t*)mir_calloc(size);
- if (fread((char*)data, sizeof(char), size, profile) != size)
+ if (fread((char*)data, sizeof(char), size, profile) != (size_t)size)
{
fclose(profile);
debugLogA("CToxProto::LoadToxData: could not read tox profile");
|