"de" is never negative, so it should be unsigned. Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> --- drawops/generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drawops/generic.c b/drawops/generic.c index b3218f50d86c6d4c..5c068e10d28fbdfe 100644 --- a/drawops/generic.c +++ b/drawops/generic.c @@ -238,7 +238,7 @@ static void do_circle(u32 x, u32 y, u32 r, pixel_t pixel, draw_func_t draw_x, u32 x1 = 0; u32 y1 = r; int d = 1-r; - int de = 3; + unsigned int de = 3; int dse = -2*r+5; do { -- 2.34.1