| 1 |
– |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
| 2 |
– |
|
| 1 |
|
#ifndef lint |
| 2 |
< |
static char SCCSid[] = "$SunId$ SGI"; |
| 2 |
> |
static const char RCSid[] = "$Id$"; |
| 3 |
|
#endif |
| 6 |
– |
|
| 4 |
|
/* |
| 5 |
|
* Holodeck beam tracking for display process |
| 6 |
|
*/ |
| 34 |
|
cbeam = (PACKHEAD *)malloc( |
| 35 |
|
maxcbeam*sizeof(PACKHEAD) ); |
| 36 |
|
else |
| 37 |
< |
cbeam = (PACKHEAD *)realloc( (char *)cbeam, |
| 37 |
> |
cbeam = (PACKHEAD *)realloc((void *)cbeam, |
| 38 |
|
maxcbeam*sizeof(PACKHEAD) ); |
| 39 |
|
if (cbeam == NULL) |
| 40 |
|
error(SYSTEM, "out of memory in newcbeam"); |
| 171 |
|
if (blist.bl[i].nr > cbeam[n].nr) |
| 172 |
|
cbeam[n].nr = blist.bl[i].nr; |
| 173 |
|
} |
| 174 |
< |
free((char *)blist.bl); /* free list */ |
| 174 |
> |
free((void *)blist.bl); /* free list */ |
| 175 |
|
if (MEYERNG <= FTINY) |
| 176 |
|
return(slist); |
| 177 |
|
/* compute average eye range */ |