diff options
author | Christopher Ferris <cferris@google.com> | 2015-12-16 16:11:04 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2015-12-16 16:11:04 -0800 |
commit | 0b13f29b2cc88e389bb85378c81ccc352361466d (patch) | |
tree | a140883c3ad031e689f6d470e44bfa52707cffeb /libc/stdio/stdio_ext.cpp | |
parent | 9f20db1c94446624238f452d5fc0200444d2ea05 (diff) |
Fix missing parentheses.
The BIONIC_ROUND_UP_POWER_OF_2 macro did not have parentheses around
the whole expression. This lead to the wrong value being computed when
used as part of a mathematical expression such as this:
value = BIONIC_ROUND_UP_POWER_OF_2(value) - 1;
This only happens on 64 bit abis.
Change-Id: I6f8afbdaf16fe64a88fa0246d074b3534c9159c1
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions