From 39d6fa659197ecc82cd88cd1a2c7655e35521616 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 8 Jul 2024 17:57:03 +0200 Subject: [PATCH] Xext: xtest: use REPLY_*() macros for preparing / sending replies Use the new macros for preparing and sending replies to clients. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/xtest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Xext/xtest.c b/Xext/xtest.c index bba4cb1904..08e4d366ba 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -101,8 +101,7 @@ ProcXTestGetVersion(ClientPtr client) .minorVersion = XTestMinorVersion }; - if (client->swapped) - swaps(&reply.minorVersion); + REPLY_FIELD_CARD16(minorVersion); return X_SEND_REPLY_SIMPLE(client, reply); }