From 90802c6be10dcea03ab49eb519e5b41f669bdce9 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Sun, 11 Feb 2024 02:11:12 -0600 Subject: [PATCH] deal with a warning under testing build that's annoyed me for a while --- test/signal_demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/signal_demo.cpp b/test/signal_demo.cpp index c7a2db2..dc7decc 100644 --- a/test/signal_demo.cpp +++ b/test/signal_demo.cpp @@ -12,7 +12,7 @@ #include void trace() { - *(char*)0 = 2; + *(volatile char*)0 = 2; } void bar() {