summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChunkData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkData.cpp b/src/ChunkData.cpp
index be96be051..74f5d78ba 100644
--- a/src/ChunkData.cpp
+++ b/src/ChunkData.cpp
@@ -345,7 +345,7 @@ void cChunkData::CopyBlockTypes(BLOCKTYPE * a_Dest, size_t a_Idx, size_t a_Lengt
}
if (ToSkip < SectionBlockCount)
{
- size_t ToCopy = std::min(SectionBlockCount, a_Length);
+ size_t ToCopy = std::min(+SectionBlockCount, a_Length);
a_Length -= ToCopy;
if (m_Sections[i] != NULL)
{