Naively using the "1 << n" shifting will default to 8 bits, because 1 fits in there. To make it 32-bit aware, not just by context (at which point the damage may have already be done), force the "1" into a uint32_t. This silences the warnings, and also corrects the defines. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>pull/34/head
parent
f665f9acaf
commit
35538ec6f0
Loading…
Reference in new issue