From: Ian Romanick Date: Wed, 30 Aug 2006 23:15:02 +0000 (+0000) Subject: Add missing parenthesis so that glXSwapIntervalSGI protocol is X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a70d56485a2d0f15ee5b660e8931eb8657535e2d;p=mesa.git Add missing parenthesis so that glXSwapIntervalSGI protocol is correctly generated. --- 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);