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.1 by gwlarson, Thu Mar 4 10:30:04 1999 UTC vs.
Revision 3.3 by greg, Wed Apr 23 00:52:34 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1999 Silicon Graphics, Inc. */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ SGI";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   * Convert view to beam list.
6   */
# Line 40 | 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