diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/sxwm.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -244,7 +244,7 @@ sudo emaint -a sync <details> <summary>Void Linux</summary> <pre><code>sudo xbps-install -S -sudo xbps-install libX11-devel libXinerama-devel gcc make</code></pre> +sudo xbps-install libX11-devel libXinerama-devel libXcursor-devel gcc make</code></pre> </details> <details> @@ -2783,10 +2783,10 @@ void update_modifier_masks(void) /* keycode at mod[i][j] */ KeyCode keycode = mod_mapping->modifiermap[i * mod_mapping->max_keypermod + j]; if (keycode == num) { - numlock_mask = (1 << i); /* which mod bit == NumLock key */ + numlock_mask = (1u << i); /* which mod bit == NumLock key */ } if (keycode == mode) { - mode_switch_mask = (1 << i); /* which mod bit == Mode_switch key */ + mode_switch_mask = (1u << i); /* which mod bit == Mode_switch key */ } } } |
