mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-02 00:52:19 +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)
|
if (glstub_trace)
|
||||||
trace = atoi (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);
|
stub = bsearch (&key, gl_stub_funcs, NUM_FUNCS, sizeof (gl_stub_t), cmp);
|
||||||
if (!stub)
|
if (!stub)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -801,8 +801,8 @@ const GLubyte *
|
||||||
norm_glGetString (GLenum name)
|
norm_glGetString (GLenum name)
|
||||||
{
|
{
|
||||||
if (name == GL_VERSION)
|
if (name == GL_VERSION)
|
||||||
return "1.4";
|
return (const GLubyte *) "1.4";
|
||||||
return "";
|
return (const GLubyte *) "";
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -954,8 +954,8 @@ trace_glGetString (GLenum name)
|
||||||
{
|
{
|
||||||
TRACE;
|
TRACE;
|
||||||
if (name == GL_VERSION)
|
if (name == GL_VERSION)
|
||||||
return "1.4";
|
return (const GLubyte *) "1.4";
|
||||||
return "";
|
return (const GLubyte *) "";
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue