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

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

# Line 52 | Line 52 | qtAlloc()                      /* allocate a quadtree */
52             error(SYSTEM,"qtAlloc(): Unable to allocate memory\n");
53  
54          /* Realloc the per/node flags */
55 <        quad_flag = (int4 *)realloc((char *)quad_flag,
55 >        quad_flag = (int4 *)realloc((void *)quad_flag,
56                          (QT_BLOCK(freet)+1)*((QT_BLOCK_SIZE+7)>>3));
57          if (quad_flag == NULL)
58             error(SYSTEM,"qtAlloc(): Unable to allocate memory\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines