summaryrefslogtreecommitdiff
path: root/src/cmark.c
diff options
context:
space:
mode:
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 79ceabf..35765b1 100644
--- a/src/cmark.c
+++ b/src/cmark.c
@@ -9,7 +9,7 @@
const int cmark_version = CMARK_VERSION;
const char cmark_version_string[] = CMARK_VERSION_STRING;
-char *cmark_markdown_to_html(const char *text, int len, int options)
+char *cmark_markdown_to_html(const char *text, size_t len, int options)
{
cmark_node *doc;
char *result;