summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-09 20:59:59 +0200
committerMattes D <github@xoft.cz>2014-05-09 20:59:59 +0200
commit839cff62ad34fd4203e7920b491419ced8f0ddbd (patch)
tree3557874b60f1a0ae440651459aefdbfb6e56ce2b /src/WorldStorage/WSSAnvil.h
parentRemoved unused constants from MineShafts and Ravines. (diff)
parentFixed size_t in FireworksSerializer. (diff)
downloadcuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar
cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.gz
cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.bz2
cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.lz
cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.xz
cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.tar.zst
cuberite-839cff62ad34fd4203e7920b491419ced8f0ddbd.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/WSSAnvil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/WSSAnvil.h b/src/WorldStorage/WSSAnvil.h
index 1773ee882..7542a828a 100644
--- a/src/WorldStorage/WSSAnvil.h
+++ b/src/WorldStorage/WSSAnvil.h
@@ -145,7 +145,7 @@ protected:
void LoadMobHeadFromNBT (cBlockEntityList & a_BlockEntities, const cParsedNBT & a_NBT, int a_TagIdx);
void LoadCommandBlockFromNBT(cBlockEntityList & a_BlockEntities, const cParsedNBT & a_NBT, int a_TagIdx);
- void LoadEntityFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_EntityTagIdx, const char * a_IDTag, int a_IDTagLength);
+ void LoadEntityFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_EntityTagIdx, const char * a_IDTag, size_t a_IDTagLength);
void LoadBoatFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx);
void LoadEnderCrystalFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx);
@@ -221,7 +221,7 @@ protected:
cMCAFile * LoadMCAFile(const cChunkCoords & a_Chunk);
/// Copies a_Length bytes of data from the specified NBT Tag's Child into the a_Destination buffer
- void CopyNBTData(const cParsedNBT & a_NBT, int a_Tag, const AString & a_ChildName, char * a_Destination, int a_Length);
+ void CopyNBTData(const cParsedNBT & a_NBT, int a_Tag, const AString & a_ChildName, char * a_Destination, size_t a_Length);
// cWSSchema overrides:
virtual bool LoadChunk(const cChunkCoords & a_Chunk) override;