aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/handler/exception_handler_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/mac/handler/exception_handler_test.cc')
-rw-r--r--src/client/mac/handler/exception_handler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mac/handler/exception_handler_test.cc b/src/client/mac/handler/exception_handler_test.cc
index e9d200f9..0a1ecbe7 100644
--- a/src/client/mac/handler/exception_handler_test.cc
+++ b/src/client/mac/handler/exception_handler_test.cc
@@ -51,7 +51,7 @@ static void *SleepyFunction(void *) {
}
static void Crasher() {
- int *a = NULL;
+ int *a = (int*)0x42;
fprintf(stdout, "Going to crash...\n");
fprintf(stdout, "A = %d", *a);