Fix compilation for Smartypants example

This commit is contained in:
Vicent Marti 2011-09-13 00:21:33 +02:00
parent 72a940f269
commit 877aa79c9e

View file

@ -57,7 +57,7 @@ main(int argc, char **argv)
/* performing markdown parsing */
ob = bufnew(OUTPUT_UNIT);
sdhtml_smartypants(ob, ib);
sdhtml_smartypants(ob, ib->data, ib->size);
/* writing the result to stdout */
fwrite(ob->data, 1, ob->size, stdout);