From b80b5c7be3fef5d506385430170a3b3954390271 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 26 Jan 2016 21:49:23 +0100 Subject: [PATCH] Fix CXX_BUILD --- file_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_ops.c b/file_ops.c index 89ba47cbf4..1c5e3b88fd 100644 --- a/file_ops.c +++ b/file_ops.c @@ -439,7 +439,7 @@ static int zip_file_decompressed(const char *name, const char *valid_exts, cdata, csize, size, crc32)) { bool goto_error = false; - buf = malloc(size); + buf = (char*)malloc(size); if (buf) {