Re: [PATCH] lib/color: Fix compilation with uClibc

2019-05-05 Thread Mark Wielaard
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

[PATCH] lib/color: Fix compilation with uClibc

2019-05-03 Thread Rosen Penev
elfutils passed -Werror and this call errors on uClibc with a mismatching pointer type. Cast to char * to fix. Signed-off-by: Rosen Penev --- lib/color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/color.c b/lib/color.c index 9ffbf55f..20b9698a 100644 --- a/lib/color.