Merge "Avoid undefined compiler behavior" am: 98115b7494

Original change: https://android-review.googlesource.com/c/platform/bionic/+/1768648

Change-Id: Ic248dc211231afb7792bc459407b1d41efa783a9
This commit is contained in:
Christopher Ferris 2021-07-16 06:30:57 +00:00 committed by Automerger Merge Worker
commit d5baa2bffa

View file

@ -463,7 +463,7 @@ TEST(MallocTests, DISABLED_exit_while_threads_allocating) {
exit(1000);
}
free(ptr);
thread_mask.fetch_or(1 << i);
thread_mask.fetch_or(1U << i);
}
});
malloc_thread.detach();