From: Alan T. DeKok Date: Tue, 20 Apr 2021 10:11:44 +0000 (-0400) Subject: add cast to shut up compiler X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dfeadbdc389881fe541ced8ed7736202930272fd;p=thirdparty%2Ffreeradius-server.git add cast to shut up compiler --- diff --git a/src/protocols/radius/encode.c b/src/protocols/radius/encode.c index 305f724aef0..cfc3aee3f04 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, 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; /*