This fixes issues on ARM, where char is unsigned.
| ... | ... |
@@ -48,7 +48,7 @@ void options_set_defaults(options_t *options) {
|
| 48 | 48 |
void options_parse(options_t *options, int argc, char *argv[]) {
|
| 49 | 49 |
options_set_defaults(options); |
| 50 | 50 |
|
| 51 |
- char c; |
|
| 51 |
+ int c; |
|
| 52 | 52 |
while ((c = getopt_long(argc, argv, "vhse:q:l:t:p:", longopts, NULL)) != -1) {
|
| 53 | 53 |
switch (c) {
|
| 54 | 54 |
case 'v': |