X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=src%2Fparser.c;h=84f3c87beb5fade2ca26dd6bb3a8d122e79915b5;hb=74ee02092252d171c59425ee5ed18636a97bba13;hp=04a0b490f6ed2be7cfafc0d1ea9d33c09e36f02d;hpb=c5e2b50e0301142941721aa2ce3f113fbbc33582;p=smdp.git diff --git a/src/parser.c b/src/parser.c index 04a0b49..84f3c87 100644 --- a/src/parser.c +++ b/src/parser.c @@ -181,8 +181,8 @@ deck_t *markdown_load(FILE *input) { } // split linked list - line->prev->next = (void*)0; - line->prev = (void*)0; + line->prev->next = NULL; + line->prev = NULL; // remove header lines from slide deck->slide->line = line;