From d1051378b7490806a57c63fae784324faf592343 Mon Sep 17 00:00:00 2001 From: ph10 Date: Mon, 29 Jul 2019 16:10:31 +0000 Subject: Avoid compiler warnings for this maintenance test program. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1149 6239d852-aaf2-0410-a92c-79f79f948069 --- maint/utf8.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'maint') 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; -- cgit v1.2.1