diff options
author | GhostNaN <59353890+GhostNaN@users.noreply.github.com> | 2023-05-08 00:25:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 00:25:03 -0400 |
commit | 61ec53db765c9bffe2869d870e0d9e29e36bb37e (patch) | |
tree | 31c4ef8e257250a3c66ac26e45fed8c2ff6e7d60 | |
parent | 6b086ab34db8ef58b9ed7e6b714bdcb6b5a57f0f (diff) | |
parent | c7e1e62fa4a7fd18b9838dbf0aa9a6b34180b59d (diff) |
Merge pull request #49 from ddxtanx/master
Fix char bug so opt parsing doesn't infinite loop
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -891,7 +891,7 @@ static void parse_command_line(int argc, char **argv, struct wl_state *state) { char *layer_name; - char opt; + int opt; while ((opt = getopt_long(argc, argv, "hvfpsn:l:o:Z:", long_options, NULL)) != -1) { switch (opt) { |