--- ray/src/ot/wfconv.c 2003/03/14 21:27:46 2.3 +++ ray/src/ot/wfconv.c 2003/04/23 00:52:34 2.4 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: wfconv.c,v 2.3 2003/03/14 21:27:46 greg Exp $"; +static const char RCSid[] = "$Id: wfconv.c,v 2.4 2003/04/23 00:52:34 greg Exp $"; #endif /* * Load Wavefront .OBJ file and convert to triangles with mesh info. @@ -340,7 +340,7 @@ double x, y, z; if (nvs == 0) vlist = (FVECT *)malloc(CHUNKSIZ*sizeof(FVECT)); else - vlist = (FVECT *)realloc((char *)vlist, + vlist = (FVECT *)realloc((void *)vlist, (nvs+CHUNKSIZ)*sizeof(FVECT)); if (vlist == NULL) error(SYSTEM, "out of memory in newv"); @@ -361,7 +361,7 @@ double x, y, z; if (nvns == 0) vnlist = (FVECT *)malloc(CHUNKSIZ*sizeof(FVECT)); else - vnlist = (FVECT *)realloc((char *)vnlist, + vnlist = (FVECT *)realloc((void *)vnlist, (nvns+CHUNKSIZ)*sizeof(FVECT)); if (vnlist == NULL) error(SYSTEM, "out of memory in newvn"); @@ -384,7 +384,7 @@ double x, y; if (nvts == 0) vtlist = (FLOAT (*)[2])malloc(CHUNKSIZ*2*sizeof(FLOAT)); else - vtlist = (FLOAT (*)[2])realloc((char *)vtlist, + vtlist = (FLOAT (*)[2])realloc((void *)vtlist, (nvts+CHUNKSIZ)*2*sizeof(FLOAT)); if (vtlist == NULL) error(SYSTEM, "out of memory in newvt");