summaryrefslogtreecommitdiff
path: root/plugingui/eventhandler.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-12-28 19:54:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-12-28 19:54:30 +0100
commitd88abf274ddff2de9250dbf960cb8e1b25f07cfa (patch)
tree4bc36d4d13cdbbd8210b2f885dc3973aaf6d8f6e /plugingui/eventhandler.cc
parent2310f168399d11bf05549abeaec117aa32a0f2fb (diff)
Fix compiler warning.
Diffstat (limited to 'plugingui/eventhandler.cc')
-rw-r--r--plugingui/eventhandler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/eventhandler.cc b/plugingui/eventhandler.cc
index 0d77665..8b75fb4 100644
--- a/plugingui/eventhandler.cc
+++ b/plugingui/eventhandler.cc
@@ -284,8 +284,8 @@ LRESULT CALLBACK dialogProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
{ // Copy GUI::PixelBuffer to framebuffer (move to window.cc)
int i,j,k;
- for (k=0,i=0;i<px.height;i++)
- for (j=0;j<px.width;j++,k++)
+ for (k=0,i=0;i<(int)px.height;i++)
+ for (j=0;j<(int)px.width;j++,k++)
*(framebuf+k)=RGB(px.buf[(j + i * px.width) * 3 + 2],
px.buf[(j + i * px.width) * 3 + 1],
px.buf[(j + i * px.width) * 3 + 0]);