diff options
Diffstat (limited to 'src/chunk.h')
-rw-r--r-- | src/chunk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk.h b/src/chunk.h index 015bbf9..208880a 100644 --- a/src/chunk.h +++ b/src/chunk.h @@ -79,12 +79,12 @@ static inline chunk chunk_dup(const chunk *ch, int pos, int len) return c; } -static inline chunk chunk_buf_detach(strbuf *buf) +static inline chunk chunk_buf_detach(cmark_strbuf *buf) { chunk c; c.len = buf->size; - c.data = strbuf_detach(buf); + c.data = cmark_strbuf_detach(buf); c.alloc = 1; return c; |