[PATCH] lib/color: Fix compilation with uClibc
Sun May 5 14:56:00 GMT 2019
On Fri, 2019-05-03 at 10:59 -0700, Rosen Penev wrote:
> elfutils passed -Werror and this call errors on uClibc with a
> mismatching pointer type. Cast to char * to fix.
Aha. I see uClibc defines program_invocation_short_name as a const
char*, while glibc defines it as a char *. And argp_help takes a char *
name as argument in both. Slightly odd, but sure, the cast to char *
should be harmless.
Added a ChangeLog entry and pushed to master.
More information about the Elfutils-devel