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

Comparing ray/src/hd/rhd_qtree.c (file contents):
Revision 3.20 by greg, Tue Mar 4 05:49:21 2003 UTC vs.
Revision 3.21 by greg, Wed Apr 23 00:52:33 2003 UTC

# Line 53 | Line 53 | newtwig()                      /* allocate a twig */
53          }
54          bi = nexttwig / TBUNDLESIZ;
55          if (twigbundle[bi] == NULL) {   /* new block */
56 <                twigbundle = (RTREE **)realloc((char *)twigbundle,
56 >                twigbundle = (RTREE **)realloc((void *)twigbundle,
57                                          (bi+2)*sizeof(RTREE *));
58                  if (twigbundle == NULL)
59                          goto memerr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines