output = BrotliEncoderTakeOutput(ctx->state, &output_len);
ctx->total_out += output_len;
- b = apr_bucket_transient_create(output, output_len,
+ b = apr_bucket_transient_create((const char *)output, output_len,
ctx->bb->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(ctx->bb, b);
output = BrotliEncoderTakeOutput(ctx->state, &output_len);
ctx->total_out += output_len;
- b = apr_bucket_heap_create(output, output_len, NULL,
+ b = apr_bucket_heap_create((const char *)output, output_len, NULL,
ctx->bb->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(ctx->bb, b);
}