# | Line 41 | Line 41 | colormap cm; /* quantization colormap */ | |
---|---|---|
41 | if (synth) | |
42 | n = makecm(nw,&na); /* analyze histogram and synthesize colormap */ | |
43 | else { | |
44 | < | bcopy((char *)cm,(char *)color,sizeof color); |
44 | > | bcopy((void *)cm,(void *)color,sizeof color); |
45 | n = nw; | |
46 | na = 0; | |
47 | for (i=0; i<len; i++) if (hist[i]) na++; | |
# | Line 58 | Line 58 | colormap cm; /* quantization colormap */ | |
58 | draw_nodith(ocm); | |
59 | } | |
60 | ||
61 | < | bcopy((char *)color,(char *)cm,sizeof color); |
61 | > | bcopy((void *)color,(void *)cm,sizeof color); |
62 | /*endclosest();*/ | |
63 | } | |
64 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |