From: Brian Paul Date: Sun, 23 Feb 2003 04:23:43 +0000 (+0000) Subject: silence warning with a cast X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=736d10c2741397ca43ff9c41295a81be1d358d23;p=mesa.git silence warning with a cast --- 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 }