mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
fix some warnings
This commit is contained in:
parent
fa20331113
commit
c90fa213d6
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue