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
|
@ -1 +1 @@
|
|||
Subproject commit a54cfcb3bde79ac6ac74f7eb816f89d4b58ad05a
|
||||
Subproject commit 0a3bbd657ae0c18a3ce1a2e8ef370953cdcdff01
|
|
@ -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) {
|
||||
|
|
2
src/util
2
src/util
|
@ -1 +1 @@
|
|||
Subproject commit 916da8c37d292bf0d75ede97c52c480454f7d768
|
||||
Subproject commit d1c30e9ec4cb68803be073d35beb6af2b860bda4
|
Loading…
Reference in a new issue