From 1102a9199db8aa08e891f808f8921a5d312e3197 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Fri, 2 Oct 2009 22:23:09 -0700 Subject: Fix DRI2SwapBuffers reply length Length should be a CARD32 and match the endianness annotation. Signed-off-by: Jesse Barnes --- dri2proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri2proto.h b/dri2proto.h index cee8a3c..85b9dbf 100644 --- a/dri2proto.h +++ b/dri2proto.h @@ -213,7 +213,7 @@ typedef struct { BYTE type; /* X_Reply */ BYTE pad1; CARD16 sequenceNumber B16; - CARD16 length B32; + CARD32 length B32; CARD32 swap_hi B32; CARD32 swap_lo B32; } xDRI2SwapBuffersReply; -- cgit v1.2.3