From f2ffdfed3d3ad9142a3aec08df48266de904e80f Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 6 Aug 2024 15:19:35 +0200 Subject: [PATCH] (!1639) Xext: xf86bigfont: drop swapping request length fields The request struct's length fields aren't used anymore - we have the client->req_len field instead, which also is bigreq-compatible. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/xf86bigfont.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Xext/xf86bigfont.c b/Xext/xf86bigfont.c index 7a72122ac..e18d4f648 100644 --- a/Xext/xf86bigfont.c +++ b/Xext/xf86bigfont.c @@ -649,8 +649,6 @@ static int _X_COLD SProcXF86BigfontQueryVersion(ClientPtr client) { REQUEST(xXF86BigfontQueryVersionReq); - - swaps(&stuff->length); return ProcXF86BigfontQueryVersion(client); } @@ -658,8 +656,6 @@ static int _X_COLD SProcXF86BigfontQueryFont(ClientPtr client) { REQUEST(xXF86BigfontQueryFontReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xXF86BigfontQueryFontReq); swapl(&stuff->id); return ProcXF86BigfontQueryFont(client);