diff --git a/movies/csv_parser.c b/movies/csv_parser.c index 7de5725..bfbf168 100644 --- a/movies/csv_parser.c +++ b/movies/csv_parser.c @@ -12,7 +12,7 @@ struct node* parse_csv(char* name) { // Buffer File For chars char* buffer; size_t buff_size = 1000; - size_t chars = -2; + ssize_t chars = -2; buffer = malloc(buff_size * sizeof(char)); // Deal with Top of CSV diff --git a/movies/makefile b/movies/makefile index 226dea1..64b8d6c 100644 --- a/movies/makefile +++ b/movies/makefile @@ -1,4 +1,4 @@ -CC=gcc --std=c99 -g +CC=gcc --std=gnu99 -g output=movies all: movies.c csv_parser.o node.o input.o