ext/redcarpet/buffer.c in redcarpet-3.1.1 vs ext/redcarpet/buffer.c in redcarpet-3.1.2

- old
+ new

@@ -92,10 +92,10 @@ return ret; } /* bufnullterm: NULL-termination of the string array */ const char * -bufcstr(const struct buf *buf) +bufcstr(struct buf *buf) { assert(buf && buf->unit); if (buf->size < buf->asize && buf->data[buf->size] == 0) return (char *)buf->data;