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) {