Add missing parenthesis so that glXSwapIntervalSGI protocol is
authorIan Romanick <idr@us.ibm.com>
Wed, 30 Aug 2006 23:15:02 +0000 (23:15 +0000)
committerIan Romanick <idr@us.ibm.com>
Wed, 30 Aug 2006 23:15:02 +0000 (23:15 +0000)
correctly generated.

src/glx/x11/glxcmds.c

index e7c1f4f03b1c1eefbc48f66afa910d4c1319bd2d..9d1bb2a0b55db2d5eaf68484ba2fe4ba655eadba 100644 (file)
@@ -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);