summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_profile.cpp
diff options
context:
space:
mode:
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)
{