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

Comparing ray/src/hd/rhd_ctab.c (file contents):
Revision 3.2 by greg, Sat Feb 22 02:07:24 2003 UTC vs.
Revision 3.3 by greg, Tue May 13 17:58:33 2003 UTC

# Line 76 | Line 76 | int    ncolors;
76                                  /* partition color space */
77          cut(ctree, 0, CLRCUBE, 0, ncolors);
78                                  /* clear histogram */
79 <        bzero((char *)histo, sizeof(histo));
79 >        bzero((void *)histo, sizeof(histo));
80                                  /* return number of colors used */
81          return(ncolors);
82   }
# Line 152 | Line 152 | int    c0, c1;
152          }
153                                          /* split box */
154          *tree = split(box);
155 <        bcopy((char *)box, (char *)kb, sizeof(kb));
155 >        bcopy((void *)box, (void *)kb, sizeof(kb));
156                                                  /* do left (lesser) branch */
157          kb[prim(*tree)][1] = part(*tree);
158          cut(tree+(1<<level), level+1, kb, c0, (c0+c1)>>1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines