diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2013-09-23 11:19:43 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2013-09-23 11:19:43 +0000 |
commit | def895b9ed81b37a99660a2ddfc2c45d229000a4 (patch) | |
tree | 51a90a4c178a17919c9399669e4cdb0cae6dfb06 /lib/asan/asan_dll_thunk.cc | |
parent | c11fa095b344c1423ba76822d5bde122b1676223 (diff) | |
download | compiler-rt-def895b9ed81b37a99660a2ddfc2c45d229000a4.tar.gz compiler-rt-def895b9ed81b37a99660a2ddfc2c45d229000a4.tar.bz2 compiler-rt-def895b9ed81b37a99660a2ddfc2c45d229000a4.tar.xz |
[ASan] Fix a compile-time warning
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_dll_thunk.cc')
-rw-r--r-- | lib/asan/asan_dll_thunk.cc | 2 |
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); } } |