(file_ops.c) Prevent signed/unsigned mismatch

This commit is contained in:
twinaphex 2015-09-17 10:15:50 +02:00
parent 2b2767017c
commit c2519d0192

View File

@ -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");