From 077bc7323c2d562e78ba5d00246a57f24201f3c8 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 1 Dec 2019 16:19:25 +0300 Subject: [PATCH] engine: host: fix crash --- engine/common/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/host.c b/engine/common/host.c index fb5b5d08..d741a42f 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -654,7 +654,7 @@ Host_Crash_f */ static void Host_Crash_f( void ) { - *(int *)0 = 0xffffffff; + *(volatile int *)0 = 0xffffffff; } /*