elfutils passed -Werror and this call errors on uClibc with a mismatching
pointer type. Cast to char * to fix.

Signed-off-by: Rosen Penev <ros...@gmail.com>
---
 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.c
+++ b/lib/color.c
@@ -132,7 +132,7 @@ valid arguments are:\n\
   - 'auto', 'tty', 'if-tty'\n"),
                     program_invocation_short_name, arg);
              argp_help (&color_argp, stderr, ARGP_HELP_SEE,
-                        program_invocation_short_name);
+                        (char *) program_invocation_short_name);
              exit (EXIT_FAILURE);
            }
        }
-- 
2.17.1

Reply via email to