diff --git a/src/utils.c b/src/utils.c index 7320792..3936815 100644 --- a/src/utils.c +++ b/src/utils.c @@ -201,7 +201,7 @@ char *get_curr_dir_name() int get_num_of_lines(FILE *file) { int n = 0; - char ch, pch; + int ch, pch; long curr_pos = ftell(file); fseek(file, 0, SEEK_SET); @@ -244,4 +244,4 @@ bool str_is_in_arr(char **arr, size_t sz, char *str) } return false; -} \ No newline at end of file +}