# | Line 23 | Line 23 | int bmap[MAXCOLORS]; | |
---|---|---|
23 | ||
24 | int currow; | |
25 | long picstart; | |
26 | < | BYTE clrtab[256][3]; |
26 | > | uby8 clrtab[256][3]; |
27 | ||
28 | extern int samplefac; | |
29 | ||
30 | ||
31 | COLR *scanln; | |
32 | < | BYTE *pixscan; |
32 | > | uby8 *pixscan; |
33 | ||
34 | int xmax, ymax; /* picture size */ | |
35 | double gamv = 2.2; /* gamma correction */ | |
# | Line 195 | Line 195 | mkclrmap( /* make our color map */ | |
195 | gmap[i] = clrtab[i][GRN]; | |
196 | bmap[i] = clrtab[i][BLU]; | |
197 | } | |
198 | < | if (dither && (pixscan = (BYTE *)malloc(xmax)) == NULL) |
198 | > | if (dither && (pixscan = (uby8 *)malloc(xmax)) == NULL) |
199 | goto memerr; | |
200 | return; | |
201 | memerr: |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |