Suppress warnings from 64-bit compiler

This commit is contained in:
jpaana 2004-06-18 22:05:09 +00:00
parent 3f65f79fc8
commit 7e73a7f5f4

View file

@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
func = (type) SDL_GL_GetProcAddress (name) func = (type) SDL_GL_GetProcAddress (name)
#elif defined (__glx__) #elif defined (__glx__)
#define SAFE_GET_PROC( func, type, name) \ #define SAFE_GET_PROC( func, type, name) \
func = (type) glXGetProcAddressARB (name) func = (type)(unsigned long)glXGetProcAddressARB (name)
#else #else
#define SAFE_GET_PROC( func, type, name) \ #define SAFE_GET_PROC( func, type, name) \
func = (type) wglGetProcAddress(name); \ func = (type) wglGetProcAddress(name); \