summaryrefslogtreecommitdiff
path: root/src/cmark.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-22 17:23:37 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-22 17:23:37 +0100
commitb2dac901288a3431fdadd9bbefb7875596a13e4d (patch)
tree6f3a7497ed721eb2d5b24b810bb141b2a2a9878e /src/cmark.c
parentc100b483db2a35d004288f128c0c27d9976fc9c9 (diff)
Make parser accept a char*
Diffstat (limited to 'src/cmark.c')
-rw-r--r--src/cmark.c2
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;