From: Alan T. DeKok Date: Tue, 28 Feb 2017 18:11:31 +0000 (-0500) Subject: quiet compiler X-Git-Tag: release_3_0_13~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ecddb52bf4016aeb74d58367455f8769c19a194;p=thirdparty%2Ffreeradius-server.git quiet compiler --- diff --git a/src/lib/misc.c b/src/lib/misc.c index cbc38eac121..587482fc7ef 100644 --- a/src/lib/misc.c +++ b/src/lib/misc.c @@ -626,7 +626,7 @@ do_port: * input length indicates there are more than 5 chars * after the ':' then there's an issue. */ - if (len > ((q + sizeof(buffer)) - value)) { + if (len > (size_t) ((q + sizeof(buffer)) - value)) { error: fr_strerror_printf("IP string contains trailing garbage after port delimiter"); return -1;