summaryrefslogtreecommitdiff
path: root/test/inflate-app.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-30 10:55:28 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-30 10:55:28 +0100
commitc0fb6442e30c44490b42e6072151ee739b944e56 (patch)
tree48cd5bd004ffacebee7d8d139d09e34d3976fd42 /test/inflate-app.c
parent8768a30f73a8ad5ab00476401626993958845ad7 (diff)
Run tests with both C (c99, c11) and C++ (c++11, c++20) compilers
Diffstat (limited to 'test/inflate-app.c')
-rw-r--r--test/inflate-app.c4
1 files changed, 2 insertions, 2 deletions
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;