From 1d39b50d8889155de11df40f7e89bec09e0c4681 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Tue, 18 Nov 2014 21:34:54 +0100 Subject: Fix api_test warnings --- api_test/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api_test/main.c b/api_test/main.c index 051d32b..1ff606b 100644 --- a/api_test/main.c +++ b/api_test/main.c @@ -2,7 +2,8 @@ #include #include -#include +#include "cmark.h" +#include "node.h" #include "harness.h" @@ -34,7 +35,7 @@ create_tree(test_batch_runner *runner) OK(runner, cmark_node_append_child(emph, str2), "append3"); INT_EQ(runner, cmark_node_check(doc), 0, "append3 consistent"); - char *html = cmark_render_html(doc); + char *html = (char *)cmark_render_html(doc); STR_EQ(runner, html, "

Hello, world!

\n", "render_html"); free(html); -- cgit v1.2.3