From a33d61aada9cad2fab1b60d9b5abe4e214fd0492 Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Mon, 29 Jul 2019 16:10:31 +0000 Subject: [PATCH] Avoid compiler warnings for this maintenance test program. --- maint/utf8.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maint/utf8.c b/maint/utf8.c index dda84e6..9ac6dc5 100644 --- a/maint/utf8.c +++ b/maint/utf8.c @@ -28,6 +28,7 @@ appropriate graphic for the codepoint. */ #include #include #include +#include /* The valid ranges for UTF-8 characters are: @@ -172,7 +173,7 @@ if (argc > 1 && strcmp(argv[1], "-s") == 0) for (; i < argc; i++) { - unsigned char *x = argv[i]; + char *x = argv[i]; if (strncmp(x, "0x", 2) == 0) { int j;