From 3a7f8e70640c35cd4ee6f843dda984c260aacbe5 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 24 Apr 2024 18:31:02 +0200 Subject: [PATCH] fix warnings --- src/mandelbrot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mandelbrot.c b/src/mandelbrot.c index 6949e17..6040317 100644 --- a/src/mandelbrot.c +++ b/src/mandelbrot.c @@ -111,8 +111,8 @@ draw(void *closure, struct scheduler *s) if((end_x - start_x) < CHUNK_SIZE && (end_y - start_y) < CHUNK_SIZE) { // Si le morceau est petit alors on dessine - for(int y = start_y; y < end_y; y++) { - for(int x = start_x; x < end_x; x++) { + for(unsigned int y = start_y; y < end_y; y++) { + for(unsigned int x = start_x; x < end_x; x++) { pixel(image, x, y); } }