mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
fix an endless loop on platforms where "char" is unsigned by default
This commit is contained in:
parent
834b1028f5
commit
44bee57f55
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
|
|||
{NULL, 0, NULL, 0},
|
||||
};
|
||||
|
||||
char opt;
|
||||
int opt;
|
||||
while ((opt = getopt_long(argc, argv, "d", long_options, NULL)) != -1) {
|
||||
switch (opt) {
|
||||
case 'd':
|
||||
|
|
Loading…
Reference in a new issue