mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 10:11:43 -05:00
Fix endless loop due to missing cast
On armv7 bspwm startup hangs during startup due to a missing cast.
This commit is contained in:
parent
beabeb8d6f
commit
abb4094ce2
1 changed files with 1 additions and 1 deletions
2
bspwm.c
2
bspwm.c
|
@ -62,7 +62,7 @@ int main(int argc, char *argv[])
|
||||||
xcb_generic_event_t *event;
|
xcb_generic_event_t *event;
|
||||||
char opt;
|
char opt;
|
||||||
|
|
||||||
while ((opt = getopt(argc, argv, "hvc:")) != -1) {
|
while ((opt = getopt(argc, argv, "hvc:")) != (char)-1) {
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
case 'h':
|
case 'h':
|
||||||
printf(WM_NAME " [-h|-v|-c CONFIG_PATH]\n");
|
printf(WM_NAME " [-h|-v|-c CONFIG_PATH]\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue