summaryrefslogtreecommitdiff
path: root/maint/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'maint/utf8.c')
-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;