riched20: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a1cbf24468
commit
5b15bf3325
|
@ -125,11 +125,11 @@ ME_StreamOutPrint(ME_OutStream *pStream, const char *format, ...)
|
||||||
{
|
{
|
||||||
char string[STREAMOUT_BUFFER_SIZE]; /* This is going to be enough */
|
char string[STREAMOUT_BUFFER_SIZE]; /* This is going to be enough */
|
||||||
int len;
|
int len;
|
||||||
__ms_va_list valist;
|
va_list valist;
|
||||||
|
|
||||||
__ms_va_start(valist, format);
|
va_start(valist, format);
|
||||||
len = vsnprintf(string, sizeof(string), format, valist);
|
len = vsnprintf(string, sizeof(string), format, valist);
|
||||||
__ms_va_end(valist);
|
va_end(valist);
|
||||||
|
|
||||||
return ME_StreamOutMove(pStream, string, len);
|
return ME_StreamOutMove(pStream, string, len);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue