The branch main has been updated by trasz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0016b7da344191c1960088d2fc41b0cfc3d5b5ec

commit 0016b7da344191c1960088d2fc41b0cfc3d5b5ec
Author:     Edward Tomasz Napierala <tr...@freebsd.org>
AuthorDate: 2021-09-06 14:44:59 +0000
Commit:     Edward Tomasz Napierala <tr...@freebsd.org>
CommitDate: 2021-09-06 14:45:08 +0000

    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
---
 tools/test/iconv/tablegen/tablegen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/test/iconv/tablegen/tablegen.c 
b/tools/test/iconv/tablegen/tablegen.c
index a67de54ff310..12d44ae753ff 100644
--- a/tools/test/iconv/tablegen/tablegen.c
+++ b/tools/test/iconv/tablegen/tablegen.c
@@ -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) {
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to