summaryrefslogtreecommitdiff
path: root/libutils/Mutex_test.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2019-03-27 07:46:39 -0700
committerNick Kralevich <nnk@google.com>2019-03-27 10:24:44 -0700
commit6d3c80b85a99fe5e6c76c8d6512eddf2edab3c86 (patch)
tree031c38f65d78d2a1b5e7aa404178f8e6eb13ccfe /libutils/Mutex_test.cpp
parent29d2b051943aa73b3d2b9f79d4390a70d0121d06 (diff)
zip_writer.cc: update powerof2 and use it unconditionally
Update the powerof2 macro to one that is integer overflow safe. This definition is the same one used by bionic, but cleaned up using clang_format. Unconditionally use this powerof2 macro, to ensure consistency across all the build environments. Test: compiles and boots Change-Id: I21bfaf2360d1f77caf96365e20490b1deadfdfe0
Diffstat (limited to 'libutils/Mutex_test.cpp')
0 files changed, 0 insertions, 0 deletions