mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-09 03:48:04 +02:00
Change the data_len parameter of _XimAttributeToValue() to CARD16
It's coming from a length in the protocol (unsigned) and passed to functions that expect unsigned int parameters (_XCopyToArg() and memcpy()). Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Todd Carson <toc@daybefore.net>
This commit is contained in:
parent
1a566c9e00
commit
1703b9f343
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ _XimAttributeToValue(
|
|||
Xic ic,
|
||||
XIMResourceList res,
|
||||
CARD16 *data,
|
||||
INT16 data_len,
|
||||
CARD16 data_len,
|
||||
XPointer value,
|
||||
BITMASK32 mode)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue