From: Arran Cudbard-Bell Date: Tue, 20 Apr 2021 13:22:06 +0000 (-0500) Subject: Revert "shut UP compiler" X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04ba45ae64ae24add2d4e17637447cdc9f7ff44c;p=thirdparty%2Ffreeradius-server.git Revert "shut UP compiler" This reverts commit 8fc06a0d0e5b4cdd937b0a7e8726bc41836dc7c3. --- diff --git a/src/protocols/radius/encode.c b/src/protocols/radius/encode.c index 7ec61b60ca0..95d1524a525 100644 --- a/src/protocols/radius/encode.c +++ b/src/protocols/radius/encode.c @@ -709,7 +709,7 @@ static ssize_t attr_fragment(fr_dbuff_t *data, size_t data_len, fr_dbuff_marker_ FR_PROTO_HEX_DUMP(fr_dbuff_current(hdr), frag_len + hdr_len, "attr_fragment fragment %u/%u", i + 1, num_fragments); - fr_dbuff_advance(&frag_data, (int) frag_len); /* Go to the start of the next fragment */ + fr_dbuff_advance(&frag_data, (size_t) frag_len); /* Go to the start of the next fragment */ if (last) break; /*