if(x!=0)
{
(void) fprintf(stderr,
- "\nUnsupported WPG2 unaligned token RST x=%lu, please report!\n"
- ,(unsigned long) x);
+ "\nUnsupported WPG2 unaligned token RST x=%.20g, please report!\n"
+ ,(double) x);
return(-3);
}
{
if ((image->colors == 0) && (bpp != 24))
{
- image->colors=1 << bpp;
+ size_t
+ one;
+
+ one=1;
+ image->colors=one << bpp;
if (!AcquireImageColormap(image,image->colors))
goto NoMemory;
}