j-=2;
(void) CopyMagickMemory(xml_info->attributes[j+1]+(i/2),
xml_info->attributes[j+1]+(i/2)+1,(size_t) (((j+2)/2)-(i/2))*
- sizeof(*xml_info->attributes));
+ sizeof(**xml_info->attributes));
return(xml_info);
}
\f
}
/* ----- Load raster data ----- */
- BImgBuff = (unsigned char *) AcquireQuantumMemory((size_t) (ldblk),sizeof(unsigned char *)); /* Ldblk was set in the check phase */
+ BImgBuff = (unsigned char *) AcquireQuantumMemory((size_t) (ldblk),sizeof(unsigned char)); /* Ldblk was set in the check phase */
if (BImgBuff == NULL)
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");