summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_interceptors.cc
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-05-29 14:11:44 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-05-29 14:11:44 +0000
commitcc61eefd4bdffe1ef98b5fd48bd0e9dfbff5db6c (patch)
treeeaa3b43a3bb1957e783ad36d165d1870d2af5612 /compiler-rt/lib/asan/asan_interceptors.cc
parent41a0f78d43a48e3d1f715daccc0ec8ddd306cb87 (diff)
downloadbcm5719-llvm-cc61eefd4bdffe1ef98b5fd48bd0e9dfbff5db6c.tar.gz
bcm5719-llvm-cc61eefd4bdffe1ef98b5fd48bd0e9dfbff5db6c.zip
Fix MSVC W3 compiler warnings
llvm-svn: 182857
Diffstat (limited to 'compiler-rt/lib/asan/asan_interceptors.cc')
-rw-r--r--compiler-rt/lib/asan/asan_interceptors.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_interceptors.cc b/compiler-rt/lib/asan/asan_interceptors.cc
index d9dcb1c5240..3c85310814d 100644
--- a/compiler-rt/lib/asan/asan_interceptors.cc
+++ b/compiler-rt/lib/asan/asan_interceptors.cc
@@ -673,7 +673,7 @@ INTERCEPTOR_WINAPI(DWORD, CreateThread,
u32 current_tid = GetCurrentTidOrInvalid();
AsanThread *t = AsanThread::Create(start_routine, arg);
CreateThreadContextArgs args = { t, &stack };
- int detached = 0; // FIXME: how can we determine it on Windows?
+ bool detached = 0; // FIXME: how can we determine it on Windows?
asanThreadRegistry().CreateThread(*(uptr*)t, detached, current_tid, &args);
return REAL(CreateThread)(security, stack_size,
asan_thread_start, t, flags, tid);
OpenPOWER on IntegriCloud