mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
XFixes: squash a pointer/integer size mismatch warning.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user