diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-11 22:16:08 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-11 22:16:08 +0100 |
commit | 16b27c4b7ae2ccb03355148fa7fc7116190cc5fb (patch) | |
tree | c5eb676f548fbfa770e11779bcc1380d7f16f06c /src/Generating | |
parent | Move Format issues (diff) | |
download | cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.gz cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.bz2 cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.lz cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.xz cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.zst cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ChunkGenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/ChunkGenerator.cpp b/src/Generating/ChunkGenerator.cpp index ef38f1399..92f6009ac 100644 --- a/src/Generating/ChunkGenerator.cpp +++ b/src/Generating/ChunkGenerator.cpp @@ -116,7 +116,7 @@ void cChunkGenerator::QueueGenerateChunk(int a_ChunkX, int a_ChunkY, int a_Chunk // Add to queue, issue a warning if too many: if (m_Queue.size() >= QUEUE_WARNING_LIMIT) { - LOGWARN("WARNING: Adding chunk [%i, %i] to generation queue; Queue is too big! (%i)", a_ChunkX, a_ChunkZ, m_Queue.size()); + LOGWARN("WARNING: Adding chunk [%i, %i] to generation queue; Queue is too big! (%zu)", a_ChunkX, a_ChunkZ, m_Queue.size()); } m_Queue.push_back(cChunkCoords(a_ChunkX, a_ChunkY, a_ChunkZ)); } @@ -180,7 +180,7 @@ BLOCKTYPE cChunkGenerator::GetIniBlock(cIniFile & a_IniFile, const AString & a_S BLOCKTYPE Block = BlockStringToType(BlockType); if (Block < 0) { - LOGWARN("[&s].%s Could not parse block value \"%s\". Using default: \"%s\".", a_SectionName.c_str(), a_ValueName.c_str(), BlockType.c_str(),a_Default.c_str()); + LOGWARN("[%s].%s Could not parse block value \"%s\". Using default: \"%s\".", a_SectionName.c_str(), a_ValueName.c_str(), BlockType.c_str(),a_Default.c_str()); return BlockStringToType(a_Default); } return Block; |