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

Comparing ray/src/common/octree.c (file contents):
Revision 1.2 by greg, Sat Oct 14 10:56:32 1989 UTC vs.
Revision 1.3 by greg, Mon Sep 17 18:01:03 1990 UTC

# Line 33 | Line 33 | octalloc()                     /* allocate an octree */
33                  errno = 0;
34                  if (octbi(freet) >= MAXOBLK)
35                          return(EMPTY);
36 <                if ((octblock[octbi(freet)] = (OCTREE *)malloc(
36 >                if ((octblock[octbi(freet)] = (OCTREE *)bmalloc(
37                                  (unsigned)256*8*sizeof(OCTREE))) == NULL)
38                          return(EMPTY);
39          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines