mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(file_ops.c) Prevent signed/unsigned mismatch
This commit is contained in:
parent
2b2767017c
commit
c2519d0192
@ -653,7 +653,7 @@ bool write_file(const char *path, const void *data, ssize_t size)
|
||||
*/
|
||||
static int read_generic_file(const char *path, void **buf, ssize_t *len)
|
||||
{
|
||||
size_t bytes_read = 0;
|
||||
ssize_t bytes_read = 0;
|
||||
ssize_t content_buf_size = 0;
|
||||
void *content_buf = NULL;
|
||||
FILE *file = fopen(path, "rb");
|
||||
|
Loading…
x
Reference in New Issue
Block a user