summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 2b7f062..cb6af42 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -16,7 +16,7 @@ unsigned char cmark_strbuf__initbuf[1];
unsigned char cmark_strbuf__oom[1];
#define ENSURE_SIZE(b, d) \
- if ((d) > buf->asize && cmark_strbuf_grow(b, (d)) < 0) \
+ if ((d) > b->asize && cmark_strbuf_grow(b, (d)) < 0) \
return -1;
#ifndef MIN