From c6806c2ac048cd5eced4e6f80370c186ae47e701 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 14 Sep 2015 03:55:35 +0200 Subject: [PATCH] Fix CXX_BUILD warning --- file_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");