From 1a97f58c096cecedd4139ad66ee61e96b8f5effc Mon Sep 17 00:00:00 2001 From: Jens Staal Date: Sun, 14 Jun 2020 07:30:44 +0200 Subject: [PATCH] one more typo in round() --- sources/sudoku.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/sudoku.c b/sources/sudoku.c index fd00790..88308b8 100644 --- a/sources/sudoku.c +++ b/sources/sudoku.c @@ -34,7 +34,7 @@ int round(float x) z = y; if(x<0) if(x-y < -0.5) - z = int(x -0.5); + z = (int)(x -0.5); else z = y; return z;