diff --git a/file_ops.c b/file_ops.c index c0d0cca1aa..3fadbbaccf 100644 --- a/file_ops.c +++ b/file_ops.c @@ -654,7 +654,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 content_buf_size = 0; + size_t content_buf_size = 0; void *content_buf = NULL; FILE *file = fopen(path, "rb");