summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_utils.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-18 21:17:04 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-18 21:17:04 +0000
commit0c4171bbee67301b31c24b08d074313cdf98282f (patch)
tree2ed0558660956756dcb3929872dff0e572aef0d0 /protocols/Tox/src/tox_utils.cpp
parenta93391bc7442c024d5e795e207b8422883e7bfdf (diff)
Tox: build fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@10234 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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]);
}