summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
}