From 1a3278a07399675c85bb26a6e1c6c9deab08ad90 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 2 Nov 2003 00:28:42 +0000 Subject: [PATCH] I guess gcc no longer likes &long(var). It only seems to accept &(long(var)). --- stepmania/src/archutils/Darwin/Vsync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/archutils/Darwin/Vsync.cpp b/stepmania/src/archutils/Darwin/Vsync.cpp index 1e58341f3d..5485e67485 100644 --- a/stepmania/src/archutils/Darwin/Vsync.cpp +++ b/stepmania/src/archutils/Darwin/Vsync.cpp @@ -15,5 +15,5 @@ bool wglSwapIntervalEXT(int swapInterval) { /* I really have no idea what the expected return value for success. If it was an int * I would return 0, since it is a bool, I'm going to guess that true is success. */ - return !CGLSetParameter(CGLGetCurrentContext(), kCGLCPSwapInterval, &long(swapInterval)); + return !CGLSetParameter(CGLGetCurrentContext(), kCGLCPSwapInterval, &(long(swapInterval))); }