Add () around "1 << n' in #define's, without it ~NAME is "~1 << n" which is
not what is wanted at all (and which caused the << of a negative number issue.) Making the values unsigned is harmless (perhaps even better) so those that were changed are still that way.
This commit is contained in:
parent
e075bb6042
commit
7f42948da2