summaryrefslogtreecommitdiff
path: root/lib/asan/asan_dll_thunk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asan/asan_dll_thunk.cc')
-rw-r--r--lib/asan/asan_dll_thunk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_dll_thunk.cc b/lib/asan/asan_dll_thunk.cc
index 0f2802e0..56f271f5 100644
--- a/lib/asan/asan_dll_thunk.cc
+++ b/lib/asan/asan_dll_thunk.cc
@@ -128,7 +128,7 @@ extern "C" {
static fntype fn = (fntype)getRealProcAddressOrDie("__asan_init_v3");
fn();
__asan_option_detect_stack_use_after_return =
- (bool)__asan_should_detect_stack_use_after_return();
+ (__asan_should_detect_stack_use_after_return() != 0);
}
}