From 152f8e45db1d2cceeceac6ae8dafb9b48d20d8e8 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 11 Mar 2021 17:24:36 -0500 Subject: fix stricter gcc warnings using casts Signed-off-by: Thomas E. Dickey --- src/xlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3