summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/bits.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-08-15 17:02:59 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-08-15 17:08:21 +0200
commit08b286277b1d1c16ce3a615c5de07cefcbd6acf6 (patch)
treeaeb26f698f356f82a6047b213fd737ba36286a2f /include/osmocom/core/bits.h
parent335aedabf204ac025a79801c15c8488d35cc9981 (diff)
utils: Change semantic of OSMO_MAX/OSMO_MIN to match semantic of a function
Add parentheses around the OSMO_MAX and OSMO_MIN macro to match the behaviour of calling a function. The current version does not evaluate to what is expected. (OSMO_MAX(3, 2) + 13) currently results in 3 and not 16.
Diffstat (limited to 'include/osmocom/core/bits.h')
0 files changed, 0 insertions, 0 deletions