bits_per_pixel,
map_length,
number_colormaps,
- number_planes;
+ number_planes,
+ one;
/*
Open image file.
number_planes=1UL*ReadBlobByte(image);
bits_per_pixel=1UL*ReadBlobByte(image);
number_colormaps=1UL*ReadBlobByte(image);
- map_length=1UL << ReadBlobByte(image);
+ one=1;
+ map_length=one << ReadBlobByte(image);
if ((number_planes == 0) || (number_planes == 2) || (bits_per_pixel != 8) ||
(image->columns == 0))
ThrowReaderException(CorruptImageError,"ImproperImageHeader");