From 736d10c2741397ca43ff9c41295a81be1d358d23 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 23 Feb 2003 04:23:43 +0000 Subject: silence warning with a cast --- src/mesa/main/nvfragparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main') 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 } -- cgit v1.2.3