summaryrefslogtreecommitdiffstats
path: root/source/DeadlockDetect.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-05 22:33:44 +0100
committermadmaxoft <github@xoft.cz>2013-11-06 20:48:55 +0100
commitc3caa66b70e9ab07ec3b7fdb5206b86b7f136076 (patch)
treebc84d2a3aedb153795f9e8dbb156cb3777fe7f8e /source/DeadlockDetect.cpp
parentMerge pull request #312 from SamJBarney/master (diff)
downloadcuberite-c3caa66b70e9ab07ec3b7fdb5206b86b7f136076.tar
cuberite-c3caa66b70e9ab07ec3b7fdb5206b86b7f136076.tar.gz
cuberite-c3caa66b70e9ab07ec3b7fdb5206b86b7f136076.tar.bz2
cuberite-c3caa66b70e9ab07ec3b7fdb5206b86b7f136076.tar.lz
cuberite-c3caa66b70e9ab07ec3b7fdb5206b86b7f136076.tar.xz
cuberite-c3caa66b70e9ab07ec3b7fdb5206b86b7f136076.tar.zst
cuberite-c3caa66b70e9ab07ec3b7fdb5206b86b7f136076.zip
Diffstat (limited to 'source/DeadlockDetect.cpp')
-rw-r--r--source/DeadlockDetect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/DeadlockDetect.cpp b/source/DeadlockDetect.cpp
index 5af3f973d..c774c9dce 100644
--- a/source/DeadlockDetect.cpp
+++ b/source/DeadlockDetect.cpp
@@ -139,7 +139,7 @@ void cDeadlockDetect::DeadlockDetected(void)
// TODO: Make a crashdump / coredump
// Crash the server intentionally:
- *((int *)0) = 0;
+ *((volatile int *)0) = 0;
}