summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/xprintf.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2012-07-04 17:35:07 +0000
committerpjd <pjd@FreeBSD.org>2012-07-04 17:35:07 +0000
commitd4c2b884b40c5aaba808cbe2a491c74cc7ea65b2 (patch)
treea14c4f6b0680aa6ca6cff198f4d4ea649e17066d /lib/libc/stdio/xprintf.c
parent36219ba107327b0956ae5b3967eea6cce7e06cde (diff)
downloadFreeBSD-src-d4c2b884b40c5aaba808cbe2a491c74cc7ea65b2.zip
FreeBSD-src-d4c2b884b40c5aaba808cbe2a491c74cc7ea65b2.tar.gz
The register_printf_render_std() function expects regular string.
Change argument type from 'const unsigned char *' to 'const char *'. MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdio/xprintf.c')
-rw-r--r--lib/libc/stdio/xprintf.c2
1 files changed, 1 insertions, 1 deletions
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