mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-26 01:59:57 +00:00
xkb: fix typo in sizeof expression
XkbExtensionDeviceNotify is an int (#define'd to 11) xkbExtensionDeviceNotify is a typedef for a struct, and is used in sizeof in all the other memset calls in this file. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2363>
This commit is contained in:
parent
0780950bee
commit
0c69071611
1 changed files with 1 additions and 1 deletions
|
|
@ -808,7 +808,7 @@ XkbFlushLedEvents(DeviceIntPtr dev,
|
|||
XkbDDXUpdateDeviceIndicators(dev, sli, sli->effectiveState);
|
||||
XkbSendExtensionDeviceNotify(dev, cause->client, ed);
|
||||
}
|
||||
memset((char *) ed, 0, sizeof(XkbExtensionDeviceNotify));
|
||||
memset((char *) ed, 0, sizeof(xkbExtensionDeviceNotify));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue