if (image->ascii85 == (Ascii85Info *) NULL)
ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
(void) memset(image->ascii85,0,sizeof(*image->ascii85));
- image->ascii85->line_break=MaxLineExtent << 1;
+ image->ascii85->line_break=(ssize_t) MaxLineExtent << 1;
image->ascii85->offset=0;
}
}
if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
break;
- proceed=SetImageProgress(image,LoadImageTag,y,image->rows);
+ proceed=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y,
+ image->rows);
if (proceed == MagickFalse)
break;
y++;
q=scanline;
if (GetPreviousImageInList(huffman_image) == (Image *) NULL)
{
- proceed=SetImageProgress(huffman_image,LoadImageTag,y,
- huffman_image->rows);
+ proceed=SetImageProgress(huffman_image,LoadImageTag,
+ (MagickOffsetType) y,huffman_image->rows);
if (proceed == MagickFalse)
break;
}
for (index=0; index < 256; index++)
{
table[index].prefix=(-1);
- table[index].suffix=(short) index;
+ table[index].suffix=(ssize_t) index;
table[index].next=(-1);
}
next_index=LZWEod+1;
*/
OutputCode(last_code);
table[next_index].prefix=(ssize_t) last_code;
- table[next_index].suffix=(short) pixels[i];
+ table[next_index].suffix=(ssize_t) pixels[i];
table[next_index].next=table[last_code].next;
table[last_code].next=(ssize_t) next_index;
next_index++;