mirror of
https://github.com/TASEmulators/fceux.git
synced 2026-10-12 02:09:51 +00:00
Resolved vsprintf deprecation compiler warning, swap out for vsnprintf
This commit is contained in:
+1
-1
@@ -177,7 +177,7 @@ public:
|
||||
|
||||
va_end(argptr);
|
||||
va_start(argptr, format);
|
||||
vsprintf(tempbuf,format,argptr);
|
||||
vsnprintf(tempbuf,amt+1,format,argptr);
|
||||
|
||||
fwrite(tempbuf,amt);
|
||||
delete[] tempbuf;
|
||||
|
||||
Reference in New Issue
Block a user