[2.4.2-only] GCC: Fix uu_ident.c strchr()

Convert 'char *' to 'const char *' to make GCC happy on Fedora 44.

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
This commit is contained in:
Tony Hutter
2026-05-05 15:27:44 -07:00
parent 0b58f1db89
commit 91c87648a7
+1 -1
View File
@@ -76,7 +76,7 @@ is_valid_ident(const char *s, const char *e, int allowdot)
static int
is_valid_component(const char *b, const char *e, uint_t flags)
{
char *sp;
const char *sp;
if (flags & UU_NAME_DOMAIN) {
sp = strchr(b, ',');