mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 22:05:23 +00:00
Use (unsigned char) not (int) to silence (char) array index warnings.
This commit is contained in:
@@ -4971,7 +4971,7 @@ struct option *option;
|
|||||||
fmt = option->format;
|
fmt = option->format;
|
||||||
|
|
||||||
/* 'a' means always uniform */
|
/* '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;
|
uniform = 1;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
Reference in New Issue
Block a user