Fix signedness warning on OS X build of the testsuite.

macos/v1.5.9
Eric Anholt 11 years ago
parent 708c31a406
commit 34d7b3d872
  1. 2
      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");

Loading…
Cancel
Save