util: use *unsigned* ints for bit operations
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 16 Oct 2018 08:43:07 +0000 (09:43 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 23 Oct 2018 10:44:02 +0000 (11:44 +0100)
commitbc021be78d2d5a36376494fca7eaf7f0728c6a29
tree0046a0da72f3df546473ea940f6e3c3674d41e1f
parent17b03b532022d4042fb2170b38dc28f5ff22bb8a
util: use *unsigned* ints for bit operations

Fixes errors thrown by GCC's Undefined Behaviour sanitizer (ubsan) every
time this macro is used.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/bitset.h