diff --git a/du3/program.c b/du3/program.c index b43126d..6f8d334 100644 --- a/du3/program.c +++ b/du3/program.c @@ -50,7 +50,7 @@ int main(){ if (*endptr == '\0') { // je cislo if(mystack.size >= SIZE) { printf("full stack\n"); - return 1; + return 0; } push(&mystack,num); }