diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-04-03 10:57:42 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-04-03 10:57:42 +0200 |
commit | 3aaf80487cdd34cf374eb02e52e5836712b4e51b (patch) | |
tree | c02f051895a47f872ada5b42e979adb39f516726 /src/buffer.c | |
parent | 5c2f3341e3c129aeb27f70fe6ca9ed0fea8f2383 (diff) |
Removed coercion in error message when aborting from buffer.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 629f809..d6c9c9b 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -45,7 +45,7 @@ void cmark_strbuf_grow(cmark_strbuf *buf, bufsize_t target_size) { if (target_size > (bufsize_t)(INT32_MAX / 2)) { fprintf(stderr, "[cmark] cmark_strbuf_grow requests buffer with size > %d, aborting\n", - (bufsize_t)(INT32_MAX / 2)); + (INT32_MAX / 2)); abort(); } abort(); |