summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2020-07-24 21:09:10 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-24 21:28:38 +0200
commit1703b9f3435079d3c6021e1ee2ec34fd4978103d (patch)
tree1f28569327cc8c01f255b7172f97e52e9dff145b /modules
parent1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 (diff)
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>
Diffstat (limited to 'modules')
-rw-r--r--modules/im/ximcp/imRmAttr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/im/ximcp/imRmAttr.c b/modules/im/ximcp/imRmAttr.c
index b7591a07..2491908e 100644
--- a/modules/im/ximcp/imRmAttr.c
+++ b/modules/im/ximcp/imRmAttr.c
@@ -216,7 +216,7 @@ _XimAttributeToValue(
Xic ic,
XIMResourceList res,
CARD16 *data,
- INT16 data_len,
+ CARD16 data_len,
XPointer value,
BITMASK32 mode)
{