summaryrefslogtreecommitdiffstats
path: root/webkit/support/webkit_support_gfx.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/support/webkit_support_gfx.cc')
-rw-r--r--webkit/support/webkit_support_gfx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/support/webkit_support_gfx.cc b/webkit/support/webkit_support_gfx.cc
index 2a62b72..bc342e9 100644
--- a/webkit/support/webkit_support_gfx.cc
+++ b/webkit/support/webkit_support_gfx.cc
@@ -28,7 +28,7 @@ namespace webkit_support {
// Note that the NOTREACHED() macro will result in a crash. This is preferable
// to calling exit() / abort(), since the latter may not surfce the problem as
// crash reports, making it hard to tell where the problem is.
-#define NOTREACHED(msg) *((int*)0) = 3
+#define NOTREACHED(msg) *((volatile int*)0) = 3
#define DCHECK(condition) \
if (!(condition)) fprintf(stderr, "DCHECK failed: " #condition ".")