summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xlib.c b/src/xlib.c
index 56d7073..4443ffe 100644
--- a/src/xlib.c
+++ b/src/xlib.c
@@ -336,7 +336,7 @@ XcursorNoticePutBitmap (Display *dpy,
/*
* Make sure the image fills the bitmap
*/
- if (image->width != bmi->width || image->height != bmi->height)
+ if (image->width != (int)bmi->width || image->height != (int)bmi->height)
{
bmi->bitmap = 0;
return;