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

Comparing ray/src/px/clrtab.c (file contents):
Revision 2.13 by greg, Wed Apr 23 00:52:34 2003 UTC vs.
Revision 2.14 by greg, Tue May 13 17:58:33 2003 UTC

# Line 45 | Line 45 | static unsigned        dist();
45   new_histo(n)            /* clear our histogram */
46   int     n;
47   {
48 <        bzero((char *)histo, sizeof(histo));
48 >        bzero((void *)histo, sizeof(histo));
49          return(0);
50   }
51  
# Line 130 | Line 130 | int    n;
130                          return;
131                  }
132                  N = n;
133 <                bzero((char *)cerr, 3*N*sizeof(short));
133 >                bzero((void *)cerr, 3*N*sizeof(short));
134          }
135          err[0] = err[1] = err[2] = 0;
136          for (x = 0; x < n; x++) {
# Line 169 | Line 169 | int    c0, c1;
169          }
170                                          /* split box */
171          branch = split(box);
172 <        bcopy((char *)box, (char *)kb, sizeof(kb));
172 >        bcopy((void *)box, (void *)kb, sizeof(kb));
173                                                  /* do left (lesser) branch */
174          kb[prim(branch)][1] = part(branch);
175          cut(kb, c0, (c0+c1)>>1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines