]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
quiet compiler
authorAlan T. DeKok <aland@freeradius.org>
Tue, 28 Feb 2017 18:11:31 +0000 (13:11 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 28 Feb 2017 18:11:31 +0000 (13:11 -0500)
src/lib/misc.c

index cbc38eac1213c5bd7999d31199d7a7d32cf26fc8..587482fc7efc5a44a814086fbc662074a4176c36 100644 (file)
@@ -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;