mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Be paranoid about bit operations here.
This commit is contained in:
parent
093c756e0e
commit
ddea319180
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@
|
|||
*/
|
||||
|
||||
/* XXX Linux define compatibility stuff */
|
||||
#define BITM(_count) ((1 << _count) - 1)
|
||||
#define BITM(_count) ((1UL << _count) - 1)
|
||||
#define BITS(_shift, _count) (BITM(_count) << _shift)
|
||||
|
||||
#define AR934X_REG_OPER_MODE0 0x04
|
||||
|
|
|
|||
Loading…
Reference in a new issue