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:
parent
64b0683e23
commit
988a521bf0
@ -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;
|
||||
|
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user