mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcursor.git
synced 2026-01-18 12:10:28 +01:00
Fix some clang integer sign/size mismatch warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
bbf3c582c9
commit
edf52212a0
2 changed files with 3 additions and 3 deletions
|
|
@ -226,7 +226,7 @@ static Bool
|
|||
_XcursorHeckbertMedianCut (const XcursorImage *image, XcursorCoreCursor *core)
|
||||
{
|
||||
XImage *src_image = core->src_image, *msk_image = core->msk_image;
|
||||
int npixels = image->width * image->height;
|
||||
unsigned int npixels = image->width * image->height;
|
||||
int ncolors;
|
||||
int n;
|
||||
XcursorPixel *po, *pn, *pc;
|
||||
|
|
@ -395,7 +395,7 @@ _XcursorFloydSteinberg (const XcursorImage *image, XcursorCoreCursor *core)
|
|||
int *aPicture, *iPicture, *aP, *iP;
|
||||
XcursorPixel *pixel, p;
|
||||
int aR, iR, aA, iA;
|
||||
int npixels = image->width * image->height;
|
||||
unsigned int npixels = image->width * image->height;
|
||||
int n;
|
||||
int right = 1;
|
||||
int belowLeft = image->width - 1;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ XcursorLibraryPath (void)
|
|||
static void
|
||||
_XcursorAddPathElt (char *path, const char *elt, int len)
|
||||
{
|
||||
int pathlen = strlen (path);
|
||||
size_t pathlen = strlen (path);
|
||||
|
||||
/* append / if the path doesn't currently have one */
|
||||
if (path[0] == '\0' || path[pathlen - 1] != '/')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue