aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-22 17:24:27 +0000
committerBrian Paul <[email protected]>2004-08-22 17:24:27 +0000
commit17386de1d91e8849adf5a175ce4c0205464d5cf8 (patch)
tree5a237da4893a7287620e659506847ad1fe2055c5 /src/mesa/shader
parentbc3a5336d941239cdfd5d9cfd6b407e769c2ac70 (diff)
cast to fix a warning (in disabled code anyway)
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/arbprogparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index d7c292c9e9a..8e8051267d4 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -3873,7 +3873,7 @@ _mesa_parse_arb_program (GLcontext * ctx, const GLubyte * str, GLsizei len,
if (0) {
int line, col;
char *s;
- printf("Program: %s\n", strz);
+ printf("Program: %s\n", (char *) strz);
printf("Error Pos: %d\n", ctx->Program.ErrorPos);
s = (char *) _mesa_find_line_column(strz, strz+ctx->Program.ErrorPos, &line, &col);
printf("line %d col %d: %s\n", line, col, s);