diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-22 17:16:10 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-22 17:16:10 +0100 |
commit | c100b483db2a35d004288f128c0c27d9976fc9c9 (patch) | |
tree | 071b9e787ba83bd19f53e203522f69426f703a13 /src/html/html.c | |
parent | a3e1e9918745d2a1cf921d7b13b94ffcc45d50fe (diff) |
Make render_html return a char*
Diffstat (limited to 'src/html/html.c')
-rw-r--r-- | src/html/html.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/html/html.c b/src/html/html.c index 96fce66..4fa79b1 100644 --- a/src/html/html.c +++ b/src/html/html.c @@ -348,12 +348,12 @@ finish_node(strbuf *html, cmark_node *node, bool tight) return tight; } -unsigned char *cmark_render_html(cmark_node *root) +char *cmark_render_html(cmark_node *root) { - unsigned char *result; + char *result; strbuf html = GH_BUF_INIT; node_to_html(&html, root); - result = strbuf_detach(&html); + result = (char *)strbuf_detach(&html); strbuf_free(&html); return result; } |