riched20: Use the standard va_list instead of __ms_va_list.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-10-22 11:12:29 +02:00
parent a1cbf24468
commit 5b15bf3325
1 changed files with 3 additions and 3 deletions

View File

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