mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
evdev: Add parentheses around '-' expression in operand of '&'.
This fixes a -Wparentheses error with GCC 9. Reviewed by: wulf Differential Revision: https://reviews.freebsd.org/D31947
This commit is contained in:
parent
cd16a848d1
commit
d99c87c8d5
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ static void evdev_mt_replay_events(struct evdev_dev *);
|
|||
static inline int
|
||||
ffc_slot(struct evdev_dev *evdev, slotset_t slots)
|
||||
{
|
||||
return (ffs(~slots & (2U << MAXIMAL_MT_SLOT(evdev)) - 1) - 1);
|
||||
return (ffs(~slots & ((2U << MAXIMAL_MT_SLOT(evdev)) - 1)) - 1);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue