aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2012-07-04 17:35:07 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2012-07-04 17:35:07 +0000
commit988a521bf06a348bee36a079ba2522653d17d59a (patch)
treea14c4f6b0680aa6ca6cff198f4d4ea649e17066d
parent64b0683e230068b4e0adc53976a936b4c41de665 (diff)
Notes
-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 1cb39c700926..c12c3ebf4ec3 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 0cc8571550bf..b00b4cb3e430 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++) {