summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-12-02 14:59:04 -0800
committerEric Anholt <eric@anholt.net>2008-12-12 10:37:40 -0800
commit2c5bfffc832e3818bbf0c0a96522865ce1ef2653 (patch)
tree923e7f8282746048eb996b07e9dda6ab7c71447c /glx
parent7be6520d94df874c6bbd46d06a1830a12d0967f2 (diff)
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>
Diffstat (limited to 'glx')
-rw-r--r--glx/indirect_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/indirect_program.c b/glx/indirect_program.c
index a206f90b6..237da2908 100644
--- a/glx/indirect_program.c
+++ b/glx/indirect_program.c
@@ -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()) {