summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-14 19:06:19 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-14 19:06:19 +0100
commite877e74632632e1b798ca791e2c30376ae4a5732 (patch)
tree1fe8b767ec5a5a63e75954244e19310fea6b671d /plugingui
parent37471a3486a566159bcf0c7ebd68f9064287d0fa (diff)
Fix compiler warning.
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/painter.cc4
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);
}
}