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;