summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-02-23 04:23:43 +0000
committerBrian Paul <[email protected]>2003-02-23 04:23:43 +0000
commit736d10c2741397ca43ff9c41295a81be1d358d23 (patch)
tree0a0a565408f9725190d208bad87d938b72e77d77 /src/mesa/main
parent25060c1f29f3ad52f9a3b5f6f68df238dbc2de8a (diff)
silence warning with a cast
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/nvfragparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/nvfragparse.c b/src/mesa/main/nvfragparse.c
index 7c18c896ebf..764a016e2f7 100644
--- a/src/mesa/main/nvfragparse.c
+++ b/src/mesa/main/nvfragparse.c
@@ -1,4 +1,4 @@
-/* $Id: nvfragparse.c,v 1.6 2003/02/23 04:09:21 brianp Exp $ */
+/* $Id: nvfragparse.c,v 1.7 2003/02/23 04:23:43 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1431,7 +1431,7 @@ _mesa_parse_nv_fragment_program(GLcontext *ctx, GLenum dstTarget,
parseState.pos, &line, &column);
_mesa_debug(ctx, "Parse error on line %d, column %d:%s\n",
line, column, lineStr);
- _mesa_free(lineStr);
+ _mesa_free((void *) lineStr);
}
#endif
}