From bceaabe49c81f678c9c7c0d4992ed046bf326709 Mon Sep 17 00:00:00 2001 From: Patrik Seman Date: Sat, 4 Mar 2023 13:28:03 +0100 Subject: [PATCH] . --- du2/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du2/program.c b/du2/program.c index 37295d9..79c81b3 100644 --- a/du2/program.c +++ b/du2/program.c @@ -19,7 +19,7 @@ int main(){ r = scanf("%d", &value); pole[i] = value; if(value<0){ - return EOF; + return -1; } if(r == 1){