summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2021-03-11 17:24:36 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2021-03-11 20:25:22 -0500
commit152f8e45db1d2cceeceac6ae8dafb9b48d20d8e8 (patch)
tree2adcc7645e344a60f6ad3aaa641319d3525a1bb8
parent628cde0575a1e3819e73fa631d6532f9f5409e14 (diff)
fix stricter gcc warnings using casts
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-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;