]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
travis fix for picky compiler
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 Jul 2017 21:38:20 +0000 (17:38 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 Jul 2017 21:38:20 +0000 (17:38 -0400)
src/lib/radius.c

index 2ecaabf65da94ba87799069f1afe6b9f80a801e9..60f2c7d20526a9ce32cce5480a9898a01178aca9 100644 (file)
@@ -3354,7 +3354,7 @@ static ssize_t data2vp_wimax(TALLOC_CTX *ctx,
         *      No continued data, just decode the attribute in place.
         */
        if ((data[6] & 0x80) == 0) {
-               if ((data[5] + 4) != attrlen) goto raw; /* WiMAX attribute doesn't fill Vendor-Specific */
+               if (((size_t) (data[5] + 4)) != attrlen) goto raw; /* WiMAX attribute doesn't fill Vendor-Specific */
 
                rcode = data2vp(ctx, packet, original, secret, child,
                                data + 7, data[5] - 3, data[5] - 3,