summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_utils.cpp')
-rw-r--r--protocols/Tox/src/tox_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_utils.cpp b/protocols/Tox/src/tox_utils.cpp
index 018774c910..6745bedb71 100644
--- a/protocols/Tox/src/tox_utils.cpp
+++ b/protocols/Tox/src/tox_utils.cpp
@@ -118,7 +118,7 @@ std::string CToxProto::DataToHexString(std::vector<uint8_t> data)
{
std::ostringstream oss;
oss << std::hex << std::uppercase << std::setfill('0');
- for (int i = 0; i < data.size(); i++)
+ for (size_t i = 0; i < data.size(); i++)
{
oss << std::setw(2) << static_cast<int>(data[i]);
}