diff options
author | Mattes D <github@xoft.cz> | 2014-05-09 20:16:29 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-05-09 20:16:29 +0200 |
commit | 1a5a1233010a8072f26620866893cc7a3540a550 (patch) | |
tree | f415dd1169f3729d48ce745efd682c45f5feeb28 /src/WorldStorage | |
parent | Even more size_t fixes. (diff) | |
download | cuberite-1a5a1233010a8072f26620866893cc7a3540a550.tar cuberite-1a5a1233010a8072f26620866893cc7a3540a550.tar.gz cuberite-1a5a1233010a8072f26620866893cc7a3540a550.tar.bz2 cuberite-1a5a1233010a8072f26620866893cc7a3540a550.tar.lz cuberite-1a5a1233010a8072f26620866893cc7a3540a550.tar.xz cuberite-1a5a1233010a8072f26620866893cc7a3540a550.tar.zst cuberite-1a5a1233010a8072f26620866893cc7a3540a550.zip |
Diffstat (limited to 'src/WorldStorage')
-rw-r--r-- | src/WorldStorage/SchematicFileSerializer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/SchematicFileSerializer.cpp b/src/WorldStorage/SchematicFileSerializer.cpp index 5cbff376b..d3a708f92 100644 --- a/src/WorldStorage/SchematicFileSerializer.cpp +++ b/src/WorldStorage/SchematicFileSerializer.cpp @@ -234,7 +234,7 @@ bool cSchematicFileSerializer::LoadFromSchematicNBT(cBlockArea & a_BlockArea, cP if (a_NBT.GetDataLength(TBlockTypes) < NumBytes) { LOG("BlockTypes truncated in the schematic file (exp %d, got %d bytes). Loading partial.", - NumBytes, a_NBT.GetDataLength(TBlockTypes) + (int)NumBytes, (int)a_NBT.GetDataLength(TBlockTypes) ); NumBytes = a_NBT.GetDataLength(TBlockTypes); } @@ -246,7 +246,7 @@ bool cSchematicFileSerializer::LoadFromSchematicNBT(cBlockArea & a_BlockArea, cP if (a_NBT.GetDataLength(TBlockMetas) < NumBytes) { LOG("BlockMetas truncated in the schematic file (exp %d, got %d bytes). Loading partial.", - NumBytes, a_NBT.GetDataLength(TBlockMetas) + (int)NumBytes, (int)a_NBT.GetDataLength(TBlockMetas) ); NumBytes = a_NBT.GetDataLength(TBlockMetas); } |