diff --git a/du3/program.c b/du3/program.c index 99b7f68..0f66c87 100644 --- a/du3/program.c +++ b/du3/program.c @@ -40,7 +40,7 @@ int main(){ char *endptr; float num = strtof(x, &endptr); - if (*endptr == "\0") { // je cislo + if (*endptr == '\0') { // je cislo if(mystack.size >= SIZE) { fprintf(stderr," plne \n"); return 1; @@ -61,7 +61,7 @@ int main(){ case '*': result = a * b;break; case '/': if(b == 0){ - fprintf(strderr, "nule pr ideleni \n"); + fprintf(stderr, "nule pr ideleni \n"); return 1; } result = a / b;