From 34d7b3d8725cf3ac3e6679dbe1d59e051f5d3b8e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 11 Dec 2013 16:44:07 -0800 Subject: [PATCH] Fix signedness warning on OS X build of the testsuite. --- test/glx_glxgetprocaddress_nocontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/glx_glxgetprocaddress_nocontext.c b/test/glx_glxgetprocaddress_nocontext.c index 3d12bf4..fc81894 100644 --- a/test/glx_glxgetprocaddress_nocontext.c +++ b/test/glx_glxgetprocaddress_nocontext.c @@ -48,7 +48,7 @@ main(int argc, char **argv) if (epoxy_glx_version(dpy, 0) < 14) errx(77, "GLX version 1.4 required for glXGetProcAddress().\n"); - void *func = glXGetProcAddress("glGetString"); + void *func = glXGetProcAddress((const GLubyte *)"glGetString"); if (!func) errx(1, "glXGetProcAddress() returned NULL\n");