iconv: Fix tablegen iconv test utility on arm64
Previously it would loop indefinitely on getopt_long(3) due to 'char' being unsigned. Reviewed By: allanjude Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D31817
This commit is contained in:
parent
c6da134591
commit
0016b7da34
@ -200,7 +200,7 @@ main (int argc, char *argv[])
|
||||
struct iconv_fallbacks fbs;
|
||||
iconv_t cd;
|
||||
char *tocode;
|
||||
char c;
|
||||
int c;
|
||||
|
||||
while (((c = getopt_long(argc, argv, optstr, long_options, NULL)) != -1)) {
|
||||
switch (c) {
|
||||
|
Loading…
Reference in New Issue
Block a user