Warning fix (GL likes to call strings GLubyte * instead of char *).

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Eric Anholt 2008-12-02 14:59:04 -08:00
parent 7be6520d94
commit 2c5bfffc83

View File

@ -102,7 +102,7 @@ int DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte *pc,
CALL_by_offset(GET_DISPATCH(),
(void (GLAPIENTRYP)(GLuint, GLenum, GLubyte *)),
get_program_string_offset,
(target, pname, answer));
(target, pname, (GLubyte *)answer));
}
if (__glXErrorOccured()) {