From c0fb6442e30c44490b42e6072151ee739b944e56 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 30 Jan 2021 10:55:28 +0100 Subject: Run tests with both C (c99, c11) and C++ (c++11, c++20) compilers --- test/inflate-app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/inflate-app.c') diff --git a/test/inflate-app.c b/test/inflate-app.c index dddc807..988a3f1 100644 --- a/test/inflate-app.c +++ b/test/inflate-app.c @@ -9,8 +9,8 @@ unsigned char *outbuf; int main(void) { // 16 MB - inbuf = malloc(4096 * 4096); - outbuf = malloc(4096 * 4096); + inbuf = (unsigned char*)malloc(4096 * 4096); + outbuf = (unsigned char*)malloc(4096 * 4096); if (inbuf == NULL || outbuf == NULL) { return 1; -- cgit v1.2.3