mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 09:08:00 +02:00
fix compiler warnings in XTrap/xtrapdiswp.c
This commit is contained in:
parent
a28652f9c3
commit
870cecb72c
1 changed files with 2 additions and 2 deletions
|
|
@ -374,13 +374,13 @@ void XETSwSendEvent(register xSendEventReq *data)
|
|||
{
|
||||
register char n;
|
||||
xEvent eventT;
|
||||
void (*proc)();
|
||||
EventSwapPtr proc;
|
||||
swapl(&(data->destination), n);
|
||||
swapl(&(data->eventMask), n);
|
||||
|
||||
/* Swap event */
|
||||
proc = EventSwapVector[data->event.u.u.type & 0177];
|
||||
if (!proc || (int (*)()) proc == (int (*)()) NotImplemented)
|
||||
if (!proc || proc == NotImplemented)
|
||||
(*proc)(&(data->event), &eventT);
|
||||
data->event = eventT;
|
||||
swaps(&(data->length), n);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue