diff options
author | Eric Anholt <eric@anholt.net> | 2008-12-02 14:59:04 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-12-12 10:37:40 -0800 |
commit | 2c5bfffc832e3818bbf0c0a96522865ce1ef2653 (patch) | |
tree | 923e7f8282746048eb996b07e9dda6ab7c71447c /glx | |
parent | 7be6520d94df874c6bbd46d06a1830a12d0967f2 (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.c | 2 |
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()) { |