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); }