diff --git a/du3/program.c b/du3/program.c index a0d6e21..0a7d67e 100644 --- a/du3/program.c +++ b/du3/program.c @@ -9,7 +9,7 @@ int main(){ char *endptr = NULL; double result = 0; int a; - for(int i = 0; i < size; i++){ + for(int i = 0; i < SIZE; i++){ char* r = fgets(riadok,SIZE,stdin); if(*r != '\n'){ if(*r >= 0 && *r <= 255){