fix stricter gcc warnings using casts

Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
This commit is contained in:
Thomas E. Dickey 2021-03-11 17:24:36 -05:00
parent 628cde0575
commit 152f8e45db
No known key found for this signature in database
GPG key ID: 702353E0F7E48EDB

View file

@ -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;