summaryrefslogtreecommitdiffstats
path: root/src/BlockArea.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-03 09:27:17 +0200
committerMattes D <github@xoft.cz>2014-04-03 09:27:17 +0200
commit25529ba62f949b98ed30e905ee4921c737d7df87 (patch)
tree773b1c615cd4147f1910bb396441186a8a0151a0 /src/BlockArea.cpp
parentRemoved the bindings to set old g_BlockXXX arrays. (diff)
downloadcuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.gz
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.bz2
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.lz
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.xz
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.zst
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.zip
Diffstat (limited to 'src/BlockArea.cpp')
-rw-r--r--src/BlockArea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockArea.cpp b/src/BlockArea.cpp
index 60e4f11e5..40cca8882 100644
--- a/src/BlockArea.cpp
+++ b/src/BlockArea.cpp
@@ -530,7 +530,7 @@ void cBlockArea::DumpToRawFile(const AString & a_FileName)
f.Write(&SizeX, 4);
f.Write(&SizeY, 4);
f.Write(&SizeZ, 4);
- unsigned char DataTypes = GetDataTypes();
+ unsigned char DataTypes = (unsigned char)GetDataTypes();
f.Write(&DataTypes, 1);
int NumBlocks = GetBlockCount();
if (HasBlockTypes())