fix some warnings

This commit is contained in:
Bill Currie 2005-10-22 04:55:41 +00:00 committed by Jeff Teunissen
parent fa20331113
commit c90fa213d6
3 changed files with 5 additions and 5 deletions

View file

@ -82,7 +82,7 @@ glXGetProcAddressARB (const GLubyte *procName)
if (glstub_trace)
trace = atoi (glstub_trace);
}
key.name = procName;
key.name = (const char *) procName;
stub = bsearch (&key, gl_stub_funcs, NUM_FUNCS, sizeof (gl_stub_t), cmp);
if (!stub)
return 0;

View file

@ -801,8 +801,8 @@ const GLubyte *
norm_glGetString (GLenum name)
{
if (name == GL_VERSION)
return "1.4";
return "";
return (const GLubyte *) "1.4";
return (const GLubyte *) "";
}
void

View file

@ -954,8 +954,8 @@ trace_glGetString (GLenum name)
{
TRACE;
if (name == GL_VERSION)
return "1.4";
return "";
return (const GLubyte *) "1.4";
return (const GLubyte *) "";
}
void