summaryrefslogtreecommitdiffstats
path: root/src/BlockID.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-08-04 21:04:03 +0200
committerGitHub <noreply@github.com>2016-08-04 21:04:03 +0200
commitad9fc1767321fc0bd11aaa85f4e5d81177cca7cc (patch)
treeccbb0e62481ce4944107294200c948f835494fe0 /src/BlockID.cpp
parentMerge pull request #3293 from LogicParrot/blockArea (diff)
parentFixed RasPi builds of unit tests. (diff)
downloadcuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar
cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.gz
cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.bz2
cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.lz
cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.xz
cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.zst
cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.zip
Diffstat (limited to 'src/BlockID.cpp')
-rw-r--r--src/BlockID.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/BlockID.cpp b/src/BlockID.cpp
index 357f6a5a4..a558db2f7 100644
--- a/src/BlockID.cpp
+++ b/src/BlockID.cpp
@@ -392,7 +392,9 @@ AString DamageTypeToString(eDamageType a_DamageType)
// Unknown damage type:
ASSERT(!"Unknown DamageType");
- return Printf("dtUnknown_%d", static_cast<int>(a_DamageType));
+ #ifndef __clang__
+ return Printf("dtUnknown_%d", static_cast<int>(a_DamageType));
+ #endif
}