diff -r 2ff6e9184468 -r cb9b9739055e src/buffer.c --- a/src/buffer.c Sun Apr 24 17:45:09 2022 +0200 +++ b/src/buffer.c Sat Apr 30 08:30:51 2022 +0200 @@ -119,7 +119,8 @@ return 0; } - if (cxReallocate(buffer->allocator, &buffer->bytes, newcap) == 0) { + if (cxReallocate(buffer->allocator, + (void **) &buffer->bytes, newcap) == 0) { buffer->capacity = newcap; return 0; } else {