mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-06 07:28:12 +00:00
zip_close warning/bug fix
This commit is contained in:
parent
9f26d573e6
commit
9bbb3b3c88
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user