XFixes: squash a pointer/integer size mismatch warning.
This commit is contained in:
parent
d3c36fe721
commit
019ad5acd2
|
@ -707,7 +707,8 @@ SProcXFixesChangeCursor (ClientPtr client)
|
|||
static Bool
|
||||
TestForCursorName (CursorPtr pCursor, pointer closure)
|
||||
{
|
||||
return (pCursor->name == (Atom) closure);
|
||||
Atom *pName = closure;
|
||||
return (pCursor->name == *pName);
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -724,7 +725,7 @@ ProcXFixesChangeCursorByName (ClientPtr client)
|
|||
tchar = (char *) &stuff[1];
|
||||
name = MakeAtom (tchar, stuff->nbytes, FALSE);
|
||||
if (name)
|
||||
ReplaceCursor (pSource, TestForCursorName, (pointer) name);
|
||||
ReplaceCursor (pSource, TestForCursorName, &name);
|
||||
return (client->noClientException);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user