From 1babd56eeb52474ff6a7b6ffcd992ec2ce75584f Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 17 Sep 2010 01:51:37 +0000 Subject: [PATCH] Use (unsigned char) not (int) to silence (char) array index warnings. --- common/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/parse.c b/common/parse.c index 3e1b3bb7..f459d239 100644 --- a/common/parse.c +++ b/common/parse.c @@ -4971,7 +4971,7 @@ struct option *option; fmt = option->format; /* 'a' means always uniform */ - if ((fmt[0] != 'Z') && (tolower((int)fmt[1]) == 'a')) + if ((fmt[0] != 'Z') && (tolower((unsigned char)fmt[1]) == 'a')) uniform = 1; do {