char pointer must be 11 byte to fit 10 characters + \0.

This commit is contained in:
Marcus Meissner 2005-07-03 11:19:29 +00:00 committed by Alexandre Julliard
parent 694f789956
commit 222d74ae27
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format, va_list valist )
/* output a pointer */ /* output a pointer */
else if( flags.Format == 'p' ) else if( flags.Format == 'p' )
{ {
char pointer[10]; char pointer[11];
flags.PadZero = 0; flags.PadZero = 0;
if( flags.Alternate ) if( flags.Alternate )