commit | 92f580009db7353f8f992ac9c857dedcfd14a3db | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Mar 27 07:46:39 2019 -0700 |
committer | Nick Kralevich <nnk@google.com> | Wed Mar 27 10:24:44 2019 -0700 |
tree | 031c38f65d78d2a1b5e7aa404178f8e6eb13ccfe | |
parent | a051d7ffab102c29e243f2d22d40b337ed741bb1 [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