1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

The register_printf_render_std() function expects regular string.

Change argument type from 'const unsigned char *' to 'const char *'.

MFC after:	2 weeks
This commit is contained in:
Pawel Jakub Dawidek 2012-07-04 17:35:07 +00:00
parent 64b0683e23
commit 988a521bf0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238111
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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++) {