mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
zip_close warning/bug fix
This commit is contained in:
@@ -699,7 +699,7 @@ _zip_create_temp_output(struct zip *za, FILE **outp)
|
||||
}
|
||||
|
||||
#ifdef UNICODE
|
||||
swprintf(temp, L"%s.XXXXXX", za->zn);
|
||||
swprintf(temp, 256, L"%s.XXXXXX", za->zn);
|
||||
#else
|
||||
sprintf(temp, "%s.XXXXXX", za->zn);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user