Avoid compiler warnings for this maintenance test program.

This commit is contained in:
ph10 2019-07-29 16:10:31 +00:00
parent ff1cf824e4
commit 710676119d

View File

@ -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;