[compiler-rt] r298741 - Follow-up for r298738: Use "0" instead of "false" because the variable is uptr.

Kuba Mracek via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 14:12:24 PDT 2017


Author: kuba.brecka
Date: Fri Mar 24 16:12:24 2017
New Revision: 298741

URL: http://llvm.org/viewvc/llvm-project?rev=298741&view=rev
Log:
Follow-up for r298738: Use "0" instead of "false" because the variable is uptr.


Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc?rev=298741&r1=298740&r2=298741&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc Fri Mar 24 16:12:24 2017
@@ -93,7 +93,7 @@ static tsan_block_context_t *AllocContex
   new_context->free_context_in_callback = true;
   new_context->submitted_synchronously = false;
   new_context->is_barrier_block = false;
-  new_context->non_queue_sync_object = false;
+  new_context->non_queue_sync_object = 0;
   return new_context;
 }
 




More information about the llvm-commits mailing list