cmark

My personal build of CMark ✏️

Commit
88078d6479b50f84acba80f2a4c0779e52159beb
Parent
9e154368dd8cb9a1a00340c2210722f22160c402
Author
John MacFarlane <jgm@berkeley.edu>
Date

Fixed type on cmark_render_code_point.

Diffstat

2 files changed, 2 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified src/render.c 2 1 1
Modified src/render.h 2 1 1
diff --git a/src/render.c b/src/render.c
@@ -126,7 +126,7 @@ cmark_render_ascii(cmark_renderer* renderer, const char* s)
 }
 
 void
-cmark_render_code_point(cmark_renderer *renderer, uint8_t c)
+cmark_render_code_point(cmark_renderer *renderer, uint32_t c)
 {
 	utf8proc_encode_char(c, renderer->buffer);
 	renderer->column += 1;
diff --git a/src/render.h b/src/render.h
@@ -44,7 +44,7 @@ void
 cmark_render_ascii(cmark_renderer *renderer, const char* s);
 
 void
-cmark_render_code_point(cmark_renderer *renderer, uint8_t c);
+cmark_render_code_point(cmark_renderer *renderer, uint32_t c);
 
 char*
 cmark_render(cmark_node *root,