summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-02 23:05:24 +0200
committermadmaxoft <github@xoft.cz>2014-09-02 23:05:24 +0200
commita0687b42e44df65cf4774b40af59ad763c48fa1a (patch)
tree7e1b0cf13c4ca157682adbf837896db9c32e0985
parentAdded strict error reporting to chunk loading. (diff)
downloadcuberite-a0687b42e44df65cf4774b40af59ad763c48fa1a.tar
cuberite-a0687b42e44df65cf4774b40af59ad763c48fa1a.tar.gz
cuberite-a0687b42e44df65cf4774b40af59ad763c48fa1a.tar.bz2
cuberite-a0687b42e44df65cf4774b40af59ad763c48fa1a.tar.lz
cuberite-a0687b42e44df65cf4774b40af59ad763c48fa1a.tar.xz
cuberite-a0687b42e44df65cf4774b40af59ad763c48fa1a.tar.zst
cuberite-a0687b42e44df65cf4774b40af59ad763c48fa1a.zip
-rw-r--r--src/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index 0c31d8b02..815b6544f 100644
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -78,7 +78,7 @@ Since only the header is actually in the memory, this number can be high, but st
"Please add the reported file and this message to the issue report.", \
__FUNCTION__, __LINE__, CHX, CHZ, RegionX, RegionZ \
); \
- *((int *)0) = 0; /* Crash intentionally */ \
+ *((volatile int *)0) = 0; /* Crash intentionally */ \
}