2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

Use (unsigned char) not (int) to silence (char) array index warnings.

This commit is contained in:
Mark Andrews 2010-09-17 01:51:37 +00:00
parent 66309a5e93
commit 1babd56eeb

View File

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