diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ void error(char *c) list *list_create(char title[], char id[]) { - list *x = malloc(sizeof(list)); + list *x = (list *)malloc(sizeof(list)); sscanf(title, "%199[^\n]", x->name); sscanf(id, "%11s", x->id); x->next = NULL; |