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:
Matthieu Herrb 2020-07-24 21:09:10 +02:00
parent 1a566c9e00
commit 1703b9f343

View file

@ -216,7 +216,7 @@ _XimAttributeToValue(
Xic ic,
XIMResourceList res,
CARD16 *data,
INT16 data_len,
CARD16 data_len,
XPointer value,
BITMASK32 mode)
{