From 019128a8e7f74344cc03e001e8b7286b42a03002 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sun, 7 Jun 2015 13:15:07 +0200 Subject: Switch cmark_markdown_to_html over to size_t --- src/cmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmark.c') 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; -- cgit v1.2.3