aboutsummaryrefslogtreecommitdiff
path: root/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_system_tests.cpp')
-rw-r--r--libc/malloc_debug/tests/malloc_debug_system_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/malloc_debug/tests/malloc_debug_system_tests.cpp b/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
index 68b3a1ec0..9d33189e9 100644
--- a/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
+++ b/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
@@ -511,7 +511,7 @@ TEST(MallocTests, DISABLED_exit_while_threads_freeing_allocs_with_header) {
for (size_t i = 0; i < kMaxThreads; i++) {
std::thread malloc_thread([&thread_mask, &run, &allocs, i] {
- thread_mask.fetch_or(1 << i);
+ thread_mask.fetch_or(1U << i);
while (!run)
;
for (auto ptr : allocs[i]) {