From: Alan T. DeKok Date: Fri, 1 Aug 2025 18:45:24 +0000 (-0400) Subject: re-add "char const *end" as allowed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=HEAD;p=thirdparty%2Ffreeradius-server.git re-add "char const *end" as allowed --- diff --git a/src/lib/util/sbuff.h b/src/lib/util/sbuff.h index c1cd1120d3..7d898123c3 100644 --- a/src/lib/util/sbuff.h +++ b/src/lib/util/sbuff.h @@ -650,7 +650,8 @@ do { \ size_t : (char const *)(_start) + ((size_t)(_len_or_end) - 1), \ long : (char const *)(_start) + ((size_t)(_len_or_end) - 1), \ int : (char const *)(_start) + ((size_t)(_len_or_end) - 1), \ - char * : (char const *)(_len_or_end) \ + char * : (char const *)(_len_or_end), \ + char const * : (char const *)(_len_or_end) \ ), \ false); \ } while (0)