From bbccfab253d5f2a6838c5a866cad02c4b0d3bd9f Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 22 Aug 2025 15:51:41 +0200 Subject: [PATCH] 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 --- dix/rpcbuf_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dix/rpcbuf_priv.h b/dix/rpcbuf_priv.h index 02df638749..2469c107b8 100644 --- a/dix/rpcbuf_priv.h +++ b/dix/rpcbuf_priv.h @@ -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); } /*