We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6c6803 commit 6ccc612Copy full SHA for 6ccc612
src/detection/keyboard/keyboard_linux.c
@@ -31,9 +31,9 @@ const char* ffDetectKeyboard(FFlist* devices /* List of FFKeyboardDevice */)
31
if (pend == eventid) continue;
32
33
// Ignore duplicate entries
34
- if (flags & (1 << index))
+ if (flags & (1UL << index))
35
continue;
36
- flags |= (1 << index);
+ flags |= (1UL << index);
37
38
ffStrbufSetF(&path, "/sys/class/input/event%s/device/name", eventid);
39
0 commit comments