summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/printf.h2
-rw-r--r--lib/libc/stdio/xprintf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/printf.h b/include/printf.h
index 1cb39c7..c12c3eb 100644
--- a/include/printf.h
+++ b/include/printf.h
@@ -123,7 +123,7 @@ int register_printf_function(int spec, printf_function *render, printf_arginfo_f
/* FreeBSD */
int register_printf_render(int spec, printf_render *render, printf_arginfo_function *arginfo);
-int register_printf_render_std(const unsigned char *specs);
+int register_printf_render_std(const char *specs);
/* vprintf_errno.c */
printf_arginfo_function __printf_arginfo_errno;
diff --git a/lib/libc/stdio/xprintf.c b/lib/libc/stdio/xprintf.c
index 0cc8571..b00b4cb 100644
--- a/lib/libc/stdio/xprintf.c
+++ b/lib/libc/stdio/xprintf.c
@@ -651,7 +651,7 @@ register_printf_render(int spec, printf_render *render, printf_arginfo_function
}
int
-register_printf_render_std(const unsigned char *specs)
+register_printf_render_std(const char *specs)
{
for (; *specs != '\0'; specs++) {
OpenPOWER on IntegriCloud