mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue