diff --git a/du3/program b/du3/program index 6578e88..436af7d 100755 Binary files a/du3/program and b/du3/program differ diff --git a/du3/program.c b/du3/program.c index af5957a..9013cdc 100644 --- a/du3/program.c +++ b/du3/program.c @@ -7,7 +7,7 @@ int main(){ float result = 0; while(1){ - char* r = fgets(riadok,999,stdin); + int* r = *fgets(riadok,999,stdin); if(*r != '\n') vxod[i++] = *r; /*else if(*r <= 255 && *r >= 0){