summaryrefslogtreecommitdiff
path: root/maint
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-07-29 16:10:31 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-07-29 16:10:31 +0000
commitd1051378b7490806a57c63fae784324faf592343 (patch)
tree64395ff8860814038aa4a7d1b3a778beeae07acf /maint
parentc248068aa081d9c812a59a339414ca6bc1264eb5 (diff)
downloadpcre2-d1051378b7490806a57c63fae784324faf592343.tar.gz
Avoid compiler warnings for this maintenance test program.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1149 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'maint')
-rw-r--r--maint/utf8.c3
1 files changed, 2 insertions, 1 deletions
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 <stdio.h>
#include <stdlib.h>
#include <ctype.h>
+#include <string.h>
/* 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;