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

Comparing ray/src/hd/viewbeams.c (file contents):
Revision 3.2 by greg, Sat Feb 22 02:07:25 2003 UTC vs.
Revision 3.3 by greg, Wed Apr 23 00:52:34 2003 UTC

# Line 37 | Line 37 | int    hd, bi, nr;
37                  }
38          i = blist.nb++;                         /* else add beam to list */
39          if (i % BALLOCBLK == 0) {
40 <                blist.bl = (PACKHEAD *)realloc((char *)blist.bl,
40 >                blist.bl = (PACKHEAD *)realloc((void *)blist.bl,
41                                  (i+BALLOCBLK)*sizeof(PACKHEAD));
42                  CHECK(blist.bl==NULL, SYSTEM, "out of memory in add2blist");
43          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines