mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
cursor: Fix unsigned/signed comparisons
This commit is contained in:
parent
3cc187c73e
commit
5030af7635
1 changed files with 3 additions and 3 deletions
|
|
@ -313,7 +313,7 @@ _XcursorReadFileHeader (XcursorFile *file)
|
|||
{
|
||||
XcursorFileHeader head, *fileHeader;
|
||||
XcursorUInt skip;
|
||||
int n;
|
||||
unsigned int n;
|
||||
|
||||
if (!file)
|
||||
return NULL;
|
||||
|
|
@ -399,7 +399,7 @@ _XcursorFindBestSize (XcursorFileHeader *fileHeader,
|
|||
XcursorDim size,
|
||||
int *nsizesp)
|
||||
{
|
||||
int n;
|
||||
unsigned int n;
|
||||
int nsizes = 0;
|
||||
XcursorDim bestSize = 0;
|
||||
XcursorDim thisSize;
|
||||
|
|
@ -429,7 +429,7 @@ _XcursorFindImageToc (XcursorFileHeader *fileHeader,
|
|||
XcursorDim size,
|
||||
int count)
|
||||
{
|
||||
int toc;
|
||||
unsigned int toc;
|
||||
XcursorDim thisSize;
|
||||
|
||||
if (!fileHeader)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue