mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcursor.git
synced 2026-04-19 14:50:44 +02:00
fix stricter gcc warnings using casts
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
This commit is contained in:
parent
628cde0575
commit
152f8e45db
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue