summaryrefslogtreecommitdiffstats
path: root/src/Protocol/MojangAPI.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-25 17:25:39 +0200
committerMattes D <github@xoft.cz>2014-08-25 17:25:39 +0200
commitbf16c5ed92c7d45599099c4c3d628cee1a60f35f (patch)
tree4c6177c118bb347cb055dd3fc06de0e6ff53abdd /src/Protocol/MojangAPI.cpp
parentFixed a type warning. (diff)
downloadcuberite-bf16c5ed92c7d45599099c4c3d628cee1a60f35f.tar
cuberite-bf16c5ed92c7d45599099c4c3d628cee1a60f35f.tar.gz
cuberite-bf16c5ed92c7d45599099c4c3d628cee1a60f35f.tar.bz2
cuberite-bf16c5ed92c7d45599099c4c3d628cee1a60f35f.tar.lz
cuberite-bf16c5ed92c7d45599099c4c3d628cee1a60f35f.tar.xz
cuberite-bf16c5ed92c7d45599099c4c3d628cee1a60f35f.tar.zst
cuberite-bf16c5ed92c7d45599099c4c3d628cee1a60f35f.zip
Diffstat (limited to 'src/Protocol/MojangAPI.cpp')
-rw-r--r--src/Protocol/MojangAPI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/MojangAPI.cpp b/src/Protocol/MojangAPI.cpp
index d107a8470..83c2dc300 100644
--- a/src/Protocol/MojangAPI.cpp
+++ b/src/Protocol/MojangAPI.cpp
@@ -675,7 +675,7 @@ void cMojangAPI::CacheNamesToUUIDs(const AStringVector & a_PlayerNames)
// Also cache the UUIDToName:
{
cCSLock Lock(m_CSUUIDToName);
- for (size_t idx = 0; idx < JsonCount; ++idx)
+ for (Json::Value::UInt idx = 0; idx < JsonCount; ++idx)
{
Json::Value & Val = root[idx];
AString JsonName = Val.get("name", "").asString();