mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-22 18:21:59 +03:00
Fix variable type
This commit is contained in:
parent
1c3a1df632
commit
1ce95d1b9f
|
@ -163,7 +163,7 @@ encode_bc1(Imaging im, ImagingCodecState state, UINT8 *buf, int bytes) {
|
|||
opaque[bx + by * 4] = a >= 127;
|
||||
all_colors[bx + by * 4] = color;
|
||||
|
||||
BOOL new_color = 1;
|
||||
int new_color = 1;
|
||||
for (UINT16 color_id = 0; color_id < unique_count; color_id++) {
|
||||
if (unique_colors[color_id] == color) {
|
||||
color_frequency[color_id]++;
|
||||
|
|
Loading…
Reference in New Issue
Block a user