summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/SchematicFileSerializer.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-09 20:16:29 +0200
committerMattes D <github@xoft.cz>2014-05-09 20:16:29 +0200
commit1a5a1233010a8072f26620866893cc7a3540a550 (patch)
treef415dd1169f3729d48ce745efd682c45f5feeb28 /src/WorldStorage/SchematicFileSerializer.cpp
parentEven more size_t fixes. (diff)
downloadcuberite-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 '')
-rw-r--r--src/WorldStorage/SchematicFileSerializer.cpp4
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);
}