From c100b483db2a35d004288f128c0c27d9976fc9c9 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sat, 22 Nov 2014 17:16:10 +0100 Subject: Make render_html return a char* --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 1cfddda..61d98dc 100644 --- a/src/main.c +++ b/src/main.c @@ -17,7 +17,7 @@ void print_usage() static void print_document(cmark_node *document, bool ast) { - unsigned char *result; + char *result; if (ast) { cmark_debug_print(document); } else { -- cgit v1.2.3 From b2dac901288a3431fdadd9bbefb7875596a13e4d Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sat, 22 Nov 2014 17:23:37 +0100 Subject: Make parser accept a char* --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 61d98dc..96e53ce 100644 --- a/src/main.c +++ b/src/main.c @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) int i, numfps = 0; bool ast = false; int *files; - unsigned char buffer[4096]; + char buffer[4096]; cmark_doc_parser *parser; size_t offset; cmark_node *document; -- cgit v1.2.3