diff --git a/du3/program.c b/du3/program.c index 35bb4de..34118fa 100644 --- a/du3/program.c +++ b/du3/program.c @@ -135,7 +135,7 @@ int main() { printf("CHYBA\n"); } - else if (IsArithCorrect(strtof(num1Temp, strtofEndPtr),strtof(num2Temp, strtofEndPtr), op1) == 0) + else if (IsArithCorrect(strtof(num1Temp, &strtofEndPtr),strtof(num2Temp, &strtofEndPtr), op1) == 0) { printf("ZLE\n"); }