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:
parent
66309a5e93
commit
1babd56eeb
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user