mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 12:14:32 +00:00
[CRT] printf/wprintf: Support %zu (#5056)
"%zu" is a printf format specifier for type size_t. Some apps assume the implementation of this specifier. CORE-17787
This commit is contained in:
parent
324cda0835
commit
38c0da9978
1 changed files with 4 additions and 0 deletions
|
@ -432,6 +432,10 @@ streamout(FILE *stream, const TCHAR *format, va_list argptr)
|
|||
else if (chr == _T('w')) flags |= FLAG_WIDECHAR;
|
||||
else if (chr == _T('L')) flags |= 0; // FIXME: long double
|
||||
else if (chr == _T('F')) flags |= 0; // FIXME: what is that?
|
||||
else if (chr == _T('z') && *format && strchr("udxXion", *format))
|
||||
{
|
||||
flags |= FLAG_INTPTR;
|
||||
}
|
||||
else if (chr == _T('l'))
|
||||
{
|
||||
/* Check if this is the 2nd 'l' in a row */
|
||||
|
|
Loading…
Reference in a new issue