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/cmark.c | |
parent | a3e1e9918745d2a1cf921d7b13b94ffcc45d50fe (diff) |
Make render_html return a char*
Diffstat (limited to 'src/cmark.c')
-rw-r--r-- | src/cmark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmark.c b/src/cmark.c index b20b84b..07b7c4c 100644 --- a/src/cmark.c +++ b/src/cmark.c @@ -7,10 +7,10 @@ #include "cmark.h" #include "buffer.h" -unsigned char *cmark_markdown_to_html(unsigned char *text, int len) +char *cmark_markdown_to_html(unsigned char *text, int len) { cmark_node *blocks; - unsigned char *result; + char *result; blocks = cmark_parse_document(text, len); |