mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
size_t to ssize_t because otherwise the errorvalue would be wrong, because of the cast to unsigned.
This commit is contained in:
parent
98fd04d970
commit
d57c858ad3
@ -33,7 +33,7 @@
|
||||
*/
|
||||
int read_zip_file(const char * archive_path, const char *relative_path, void **buf)
|
||||
{
|
||||
size_t bytes_read = -1;
|
||||
ssize_t bytes_read = -1;
|
||||
bool finished_reading = false;
|
||||
unzFile *zipfile = (unzFile*)unzOpen( archive_path );
|
||||
if ( ! zipfile )
|
||||
@ -144,7 +144,7 @@ struct string_list *compressed_zip_file_list_new(const char *path,
|
||||
ext_list = string_split(ext, "|");
|
||||
|
||||
|
||||
size_t bytes_read = -1;
|
||||
ssize_t bytes_read = -1;
|
||||
bool finished_reading = false;
|
||||
unzFile *zipfile = (unzFile*)unzOpen( path );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user