--- ray/src/hd/rhdisp3.c 1998/11/05 13:58:37 3.11 +++ ray/src/hd/rhdisp3.c 2003/04/23 00:52:33 3.13 @@ -1,9 +1,6 @@ -/* Copyright (c) 1998 Silicon Graphics, Inc. */ - #ifndef lint -static char SCCSid[] = "$SunId$ SGI"; +static const char RCSid[] = "$Id: rhdisp3.c,v 3.13 2003/04/23 00:52:33 greg Exp $"; #endif - /* * Holodeck beam support for display process */ @@ -286,7 +283,7 @@ VIEW *vp; cl.n = 0; /* add cells within pyramid */ visit_cells(org, dir, hp, addcell, (char *)&cl); if (!cl.n) { - free((char *)cl.cl); + free((void *)cl.cl); return(NULL); } *np = cl.n * orient; @@ -295,7 +292,7 @@ VIEW *vp; * sorted automatically by visit_cells(), so we don't need this. */ /* optimize memory use */ - cl.cl = (GCOORD *)realloc((char *)cl.cl, cl.n*sizeof(GCOORD)); + cl.cl = (GCOORD *)realloc((void *)cl.cl, cl.n*sizeof(GCOORD)); if (cl.cl == NULL) goto memerr; /* sort the list */