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

Comparing ray/src/px/ciq.c (file contents):
Revision 1.4 by ph, Fri Apr 7 16:36:12 1989 UTC vs.
Revision 1.5 by greg, Thu Jan 18 23:58:14 1990 UTC

# Line 43 | Line 43 | colormap cm;           /* quantization colormap */
43      if (synth)
44          n = makecm(nw,&na);     /* analyze histogram and synthesize colormap */
45      else {
46 <        bcopy(cm,color,sizeof color);
46 >        bcopy((char *)cm,(char *)color,sizeof color);
47          n = nw;
48          na = 0;
49          for (i=0; i<len; i++) if (hist[i]) na++;
# Line 60 | Line 60 | colormap cm;           /* quantization colormap */
60          draw_nodith(ocm);
61      }
62  
63 <    bcopy(color,cm,sizeof color);
63 >    bcopy((char *)color,(char *)cm,sizeof color);
64      /*endclosest();*/
65   }
66  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines