summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-22 10:28:16 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-22 10:28:16 -0800
commit36f6ab248ab8391bb6dbaab97e23010a9fb82ce8 (patch)
tree1414de21ed1017974e7ff30b6b0d4327cbfd0dd7 /src/main.c
parentaebf7308ef00a8c2150200dc641d3eeee80a8303 (diff)
parentb2dac901288a3431fdadd9bbefb7875596a13e4d (diff)
Merge pull request #210 from nwellnhof/nwellnhof_141122
C API fixes, additional tests, stackless rendering
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 1cfddda..96e53ce 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 {
@@ -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;