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 c514dacf3c..57fbb83a18 100644
--- a/protocols/Tox/src/tox_profile.cpp
+++ b/protocols/Tox/src/tox_profile.cpp
@@ -89,7 +89,7 @@ bool CToxProto::LoadToxProfile(Tox_Options *options)
}
mir_free(data);
data = decryptedData;
- size = decryptedSize;
+ size = (long)decryptedSize;
}
if (data) {