# HG changeset patch # User Paul Eggert # Date 1357416412 28800 # Node ID 7be3e941fb5b8dab884ae1a5578256f1f5ea2f43 # Parent c9d7491e3e78561fdac732eecd8b2136bc7e0b56 regex: conform to strict C * lib/regcomp.c (parse_bracket_exp): Add cast to conform to strict C. From Aharon Robbins. diff -r c9d7491e3e78 -r 7be3e941fb5b ChangeLog --- a/ChangeLog Sat Jan 05 08:03:10 2013 -0800 +++ b/ChangeLog Sat Jan 05 12:06:52 2013 -0800 @@ -1,5 +1,9 @@ 2013-01-05 Paul Eggert + regex: conform to strict C + * lib/regcomp.c (parse_bracket_exp): Add cast to conform to strict C. + From Aharon Robbins. + gnulib-tool: fix incompatibility with autopoint 0.18.2 * gnulib-tool: Don't indent AM_GNU_GETTEXT_VERSION line. Problem reported by Tom G. Christensen in diff -r c9d7491e3e78 -r 7be3e941fb5b lib/regcomp.c --- a/lib/regcomp.c Sat Jan 05 08:03:10 2013 -0800 +++ b/lib/regcomp.c Sat Jan 05 12:06:52 2013 -0800 @@ -3291,7 +3291,8 @@ #ifdef RE_ENABLE_I18N mbcset, &char_class_alloc, #endif /* RE_ENABLE_I18N */ - start_elem.opr.name, syntax); + (const char *) start_elem.opr.name, + syntax); if (BE (*err != REG_NOERROR, 0)) goto parse_bracket_exp_free_return; break;