summaryrefslogtreecommitdiffstats
path: root/source/BlockID.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/BlockID.cpp')
-rw-r--r--source/BlockID.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp
index 46a8ef5ca..f9c78705b 100644
--- a/source/BlockID.cpp
+++ b/source/BlockID.cpp
@@ -56,7 +56,7 @@ static cBlockIDMap gsBlockIDMap;
-int BlockStringToType(const AString & a_BlockTypeString)
+BLOCKTYPE BlockStringToType(const AString & a_BlockTypeString)
{
int res = atoi(a_BlockTypeString.c_str());
if ((res != 0) || (a_BlockTypeString.compare("0") == 0))