diff options
author | Mattes D <github@xoft.cz> | 2014-08-25 17:25:39 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-25 17:25:39 +0200 |
commit | bf16c5ed92c7d45599099c4c3d628cee1a60f35f (patch) | |
tree | 4c6177c118bb347cb055dd3fc06de0e6ff53abdd /src/Protocol/MojangAPI.cpp | |
parent | Fixed a type warning. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Protocol/MojangAPI.cpp | 2 |
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(); |