diff options
author | madmaxoft <github@xoft.cz> | 2013-11-05 22:33:44 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-06 20:48:55 +0100 |
commit | c3caa66b70e9ab07ec3b7fdb5206b86b7f136076 (patch) | |
tree | bc84d2a3aedb153795f9e8dbb156cb3777fe7f8e /source | |
parent | Merge pull request #312 from SamJBarney/master (diff) | |
download | cuberite-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')
-rw-r--r-- | source/DeadlockDetect.cpp | 2 |
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; } |