mirror of
https://github.com/libretro/libretro-common.git
synced 2025-04-02 10:31:51 -04:00
Update libretro-common
This commit is contained in:
parent
01684065ae
commit
b3dbc593ee
2 changed files with 4 additions and 2 deletions
|
@ -545,8 +545,9 @@ int filestream_vprintf(RFILE *stream, const char* format, va_list args)
|
|||
int filestream_printf(RFILE *stream, const char* format, ...)
|
||||
{
|
||||
va_list vl;
|
||||
int result;
|
||||
va_start(vl, format);
|
||||
int result = filestream_vprintf(stream, format, vl);
|
||||
result = filestream_vprintf(stream, format, vl);
|
||||
va_end(vl);
|
||||
return result;
|
||||
}
|
||||
|
|
|
@ -83,9 +83,10 @@ int rfputc(int character, RFILE * stream)
|
|||
|
||||
int rfprintf(RFILE * stream, const char * format, ...)
|
||||
{
|
||||
int result;
|
||||
va_list vl;
|
||||
va_start(vl, format);
|
||||
int result = filestream_vprintf(stream, format, vl);
|
||||
result = filestream_vprintf(stream, format, vl);
|
||||
va_end(vl);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue