fix warnings
This commit is contained in:
parent
0d835b7170
commit
3a7f8e7064
1 changed files with 2 additions and 2 deletions
|
@ -111,8 +111,8 @@ draw(void *closure, struct scheduler *s)
|
||||||
|
|
||||||
if((end_x - start_x) < CHUNK_SIZE && (end_y - start_y) < CHUNK_SIZE) {
|
if((end_x - start_x) < CHUNK_SIZE && (end_y - start_y) < CHUNK_SIZE) {
|
||||||
// Si le morceau est petit alors on dessine
|
// Si le morceau est petit alors on dessine
|
||||||
for(int y = start_y; y < end_y; y++) {
|
for(unsigned int y = start_y; y < end_y; y++) {
|
||||||
for(int x = start_x; x < end_x; x++) {
|
for(unsigned int x = start_x; x < end_x; x++) {
|
||||||
pixel(image, x, y);
|
pixel(image, x, y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue