mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
dix: rpcbuf: fix x_rpcbuf_write_INT32()
The typecast was wrong (copy-paste error), needs to be CARD32 instead of CARD16. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -213,7 +213,7 @@ Bool x_rpcbuf_write_CARD32(x_rpcbuf_t *rpcbuf, CARD32 value)
|
||||
* @return TRUE on success, FALSE on allocation failure
|
||||
*/
|
||||
static inline Bool x_rpcbuf_write_INT32(x_rpcbuf_t *rpcbuf, INT32 value) {
|
||||
return x_rpcbuf_write_CARD32(rpcbuf, (CARD16)value);
|
||||
return x_rpcbuf_write_CARD32(rpcbuf, (CARD32)value);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user