diff --git a/c-programming/io/freadln.c b/c-programming/io/freadln.c index 5e54bf4..80888da 100644 --- a/c-programming/io/freadln.c +++ b/c-programming/io/freadln.c @@ -33,7 +33,7 @@ int freadln(FILE* f, char** output, size_t* length_out) { // make sure a prompt is displayed fflush(stdout); - freadln_length_type length = 0; + freadln_length_type length = 0; // initial length *output = malloc((length + 1) * sizeof(char)); if (*output == NULL)