- Commit
- 3aaf80487cdd34cf374eb02e52e5836712b4e51b
- Parent
- 5c2f3341e3c129aeb27f70fe6ca9ed0fea8f2383
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Removed coercion in error message when aborting from buffer.
My personal build of CMark ✏️
Removed coercion in error message when aborting from buffer.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/buffer.c | 2 | 1 | 1 |
diff --git 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();