--- ray/src/hd/viewbeams.c 1999/03/04 10:30:04 3.1 +++ ray/src/hd/viewbeams.c 2003/04/23 00:52:34 3.3 @@ -1,9 +1,6 @@ -/* Copyright (c) 1999 Silicon Graphics, Inc. */ - #ifndef lint -static char SCCSid[] = "$SunId$ SGI"; +static const char RCSid[] = "$Id: viewbeams.c,v 3.3 2003/04/23 00:52:34 greg Exp $"; #endif - /* * Convert view to beam list. */ @@ -40,7 +37,7 @@ int hd, bi, nr; } i = blist.nb++; /* else add beam to list */ if (i % BALLOCBLK == 0) { - blist.bl = (PACKHEAD *)realloc((char *)blist.bl, + blist.bl = (PACKHEAD *)realloc((void *)blist.bl, (i+BALLOCBLK)*sizeof(PACKHEAD)); CHECK(blist.bl==NULL, SYSTEM, "out of memory in add2blist"); }