summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_profile.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-02-10 19:36:17 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-02-10 19:36:17 +0000
commitacbdf5af932c3fc10563bd47216dd7f14f0f5e87 (patch)
tree949ec8219ddcb370568d82bcf0b345d8db4064da /protocols/Tox/src/tox_profile.cpp
parentcf0e356099c0f5a76f0c879dd1a15747f7da760c (diff)
Tox:
- added some debug info logging - fix for reading big files git-svn-id: http://svn.miranda-ng.org/main/trunk@12083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_profile.cpp')
-rw-r--r--protocols/Tox/src/tox_profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_profile.cpp b/protocols/Tox/src/tox_profile.cpp
index d169b21f78..9a1c2fc51b 100644
--- a/protocols/Tox/src/tox_profile.cpp
+++ b/protocols/Tox/src/tox_profile.cpp
@@ -31,7 +31,7 @@ bool CToxProto::LoadToxProfile()
}
fseek(profile, 0, SEEK_END);
- size_t size = _ftelli64(profile);
+ long size = ftell(profile);
rewind(profile);
if (size == 0)
{