diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-14 19:06:19 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-14 19:06:19 +0100 |
commit | e877e74632632e1b798ca791e2c30376ae4a5732 (patch) | |
tree | 1fe8b767ec5a5a63e75954244e19310fea6b671d | |
parent | 37471a3486a566159bcf0c7ebd68f9064287d0fa (diff) |
Fix compiler warning.
-rw-r--r-- | plugingui/painter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/painter.cc b/plugingui/painter.cc index e5da246..ce88333 100644 --- a/plugingui/painter.cc +++ b/plugingui/painter.cc @@ -198,8 +198,8 @@ void GUI::Painter::drawFilledRectangle(int x1, int y1, int x2, int y2) void GUI::Painter::clear() { - for(int x = 0; x < pixbuf->width; x++) { - for(int y = 0; y < pixbuf->height; y++) { + for(int x = 0; x < (int)pixbuf->width; x++) { + for(int y = 0; y < (int)pixbuf->height; y++) { pixbuf->setPixel(x, y, 0, 0, 0, 0); } } |