use int instead of char to hold return value of getopt_long to avoid issues if the default char is unsigned (arm64), update util and cppgtfs to fix further issues on such architectures
This commit is contained in:
parent
6bbb461b02
commit
80504b21fe
3 changed files with 3 additions and 3 deletions
|
|
@ -147,7 +147,7 @@ void ConfigReader::read(Config* cfg, int argc, char** argv) {
|
|||
{"keep-additional-gtfs-fields", no_argument, 0, 'F'},
|
||||
{0, 0, 0, 0}};
|
||||
|
||||
char c;
|
||||
int c;
|
||||
while ((c = getopt_long(argc, argv, ":o:hvi:c:x:Dm:g:X:T:d:pP:F", ops, 0)) !=
|
||||
-1) {
|
||||
switch (c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue