From a70d56485a2d0f15ee5b660e8931eb8657535e2d Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 30 Aug 2006 23:15:02 +0000 Subject: [PATCH] Add missing parenthesis so that glXSwapIntervalSGI protocol is correctly generated. --- src/glx/x11/glxcmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c index e7c1f4f03b1..9d1bb2a0b55 100644 --- a/src/glx/x11/glxcmds.c +++ b/src/glx/x11/glxcmds.c @@ -1700,7 +1700,7 @@ static int __glXSwapIntervalSGI(int interval) req->vendorCode = X_GLXvop_SwapIntervalSGI; req->contextTag = gc->currentContextTag; - interval_ptr = (CARD32 *) req + 1; + interval_ptr = (CARD32 *) (req + 1); *interval_ptr = interval; UnlockDisplay(dpy); -- 2.30.2