Avoid compiler warnings for this maintenance test program.

This commit is contained in:
Philip.Hazel 2019-07-29 16:10:31 +00:00
parent 7292c751a3
commit a33d61aada
1 changed files with 2 additions and 1 deletions

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;