diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-22 17:23:37 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-22 17:23:37 +0100 |
commit | b2dac901288a3431fdadd9bbefb7875596a13e4d (patch) | |
tree | 6f3a7497ed721eb2d5b24b810bb141b2a2a9878e /src/cmark.c | |
parent | c100b483db2a35d004288f128c0c27d9976fc9c9 (diff) |
Make parser accept a char*
Diffstat (limited to 'src/cmark.c')
-rw-r--r-- | src/cmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmark.c b/src/cmark.c index 07b7c4c..273a37b 100644 --- a/src/cmark.c +++ b/src/cmark.c @@ -7,7 +7,7 @@ #include "cmark.h" #include "buffer.h" -char *cmark_markdown_to_html(unsigned char *text, int len) +char *cmark_markdown_to_html(const char *text, int len) { cmark_node *blocks; char *result; |