X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/67b5031ec6d160b5cae425466a34d1be3b211dd4..d04c0e00da3a27693bbf9cc4f2d5c88e56d80f20:/codec/baseconv.c diff --git a/codec/baseconv.c b/codec/baseconv.c index 53fceb2..7ab32df 100644 --- a/codec/baseconv.c +++ b/codec/baseconv.c @@ -419,7 +419,7 @@ static int ctxn##_dec(codec *c, const void *p, size_t sz, dstr *d) \ static void ctxn##_destroy(codec *c) \ { \ ctxn##_codec *bc = (ctxn##_codec *)c; \ - if (bc->ctx.indent) xfree((/*unconst*/ char *)bc->ctx.indent); \ + if (bc->ctx.indent) xfree(UNCONST(char, bc->ctx.indent)); \ DESTROY(bc); \ } \ \