From a4ee78d003f17f00f81f2d3e131b6c345f00516a Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Tue, 26 Feb 2013 17:28:41 -0800 Subject: [PATCH] [master] silence warning --- lib/isc/regex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/isc/regex.c b/lib/isc/regex.c index 3bb2857ff7..d42a6bf389 100644 --- a/lib/isc/regex.c +++ b/lib/isc/regex.c @@ -330,7 +330,8 @@ isc_regex_validate(const char *c) { { unsigned int len; len = strlen(cc[i]); - if (len != (c - ccname)) + if (len != + (unsigned int)(c - ccname)) continue; if (strncmp(cc[i], ccname, len)) continue;