summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-12 17:30:24 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-12 17:30:24 -0700
commit88078d6479b50f84acba80f2a4c0779e52159beb (patch)
tree814603567d5225e9fe395c3c69cf288f2b5fbec3 /src
parent9e154368dd8cb9a1a00340c2210722f22160c402 (diff)
Fixed type on cmark_render_code_point.
Diffstat (limited to 'src')
-rw-r--r--src/render.c2
-rw-r--r--src/render.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/render.c b/src/render.c
index 7331a27..9fea832 100644
--- 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
index 9409093..ca541bc 100644
--- 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,