ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhdisp2.c
(Generate patch)

Comparing ray/src/hd/rhdisp2.c (file contents):
Revision 3.33 by greg, Sat Feb 22 02:07:24 2003 UTC vs.
Revision 3.34 by greg, Wed Apr 23 00:52:33 2003 UTC

# Line 34 | Line 34 | newcbeam()             /* allocate new entry at end of cbeam arra
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");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines