summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-20 10:56:27 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-26 17:09:21 +0200
commit8b7ecabb2710ab01a5d30a66c18f3944173a1bce (patch)
tree866c1ad86ac7fc8ca243f5261fca47e6f737e792 /src/WorldStorage
parentRemove redundant ErasePowerData call (diff)
downloadcuberite-8b7ecabb2710ab01a5d30a66c18f3944173a1bce.tar
cuberite-8b7ecabb2710ab01a5d30a66c18f3944173a1bce.tar.gz
cuberite-8b7ecabb2710ab01a5d30a66c18f3944173a1bce.tar.bz2
cuberite-8b7ecabb2710ab01a5d30a66c18f3944173a1bce.tar.lz
cuberite-8b7ecabb2710ab01a5d30a66c18f3944173a1bce.tar.xz
cuberite-8b7ecabb2710ab01a5d30a66c18f3944173a1bce.tar.zst
cuberite-8b7ecabb2710ab01a5d30a66c18f3944173a1bce.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/FastNBT.cpp2
-rw-r--r--src/WorldStorage/FastNBT.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/FastNBT.cpp b/src/WorldStorage/FastNBT.cpp
index b7c1c9c45..5f979120b 100644
--- a/src/WorldStorage/FastNBT.cpp
+++ b/src/WorldStorage/FastNBT.cpp
@@ -638,7 +638,7 @@ void cFastNBTWriter::AddByteArray(const AString & a_Name, const char * a_Value,
-void cFastNBTWriter::AddIntArray(const AString & a_Name, const int * a_Value, size_t a_NumElements)
+void cFastNBTWriter::AddIntArray(const AString & a_Name, const Int32 * a_Value, size_t a_NumElements)
{
TagCommon(a_Name, TAG_IntArray);
UInt32 len = htonl(static_cast<UInt32>(a_NumElements));
diff --git a/src/WorldStorage/FastNBT.h b/src/WorldStorage/FastNBT.h
index 412543dc2..2e1246ccf 100644
--- a/src/WorldStorage/FastNBT.h
+++ b/src/WorldStorage/FastNBT.h
@@ -336,7 +336,7 @@ public:
void AddDouble (const AString & a_Name, double a_Value);
void AddString (const AString & a_Name, const AString & a_Value);
void AddByteArray(const AString & a_Name, const char * a_Value, size_t a_NumElements);
- void AddIntArray (const AString & a_Name, const int * a_Value, size_t a_NumElements);
+ void AddIntArray (const AString & a_Name, const Int32 * a_Value, size_t a_NumElements);
void AddByteArray(const AString & a_Name, const AString & a_Value)
{