2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

[master] silence warning

This commit is contained in:
Evan Hunt 2013-02-26 17:28:41 -08:00
parent c7f299247c
commit a4ee78d003

View File

@ -330,7 +330,8 @@ isc_regex_validate(const char *c) {
{ {
unsigned int len; unsigned int len;
len = strlen(cc[i]); len = strlen(cc[i]);
if (len != (c - ccname)) if (len !=
(unsigned int)(c - ccname))
continue; continue;
if (strncmp(cc[i], ccname, len)) if (strncmp(cc[i], ccname, len))
continue; continue;