if (image_info->debug != MagickFalse)
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",
image_info->filename);
- image_info->custom_stream=(void *) custom_stream;
+ image_info->custom_stream=(CustomStreamInfo *) custom_stream;
}
\f
/*
while (description != (XMLTreeInfo *) NULL)
{
char
- *namespace;
+ *xml_namespace;
node=GetXMLTreeChild(description,(const char *) NULL);
while (node != (XMLTreeInfo *) NULL)
if ((child == (XMLTreeInfo *) NULL) &&
(SkipXMPValue(content) == MagickFalse))
{
- namespace=ConstantString(GetXMLTreeTag(node));
- (void) SubstituteString(&namespace,"exif:","xmp:");
+ xml_namespace=ConstantString(GetXMLTreeTag(node));
+ (void) SubstituteString(&xml_namespace,"exif:","xmp:");
(void) AddValueToSplayTree((SplayTreeInfo *) image->properties,
- namespace,ConstantString(content));
+ xml_namespace,ConstantString(content));
}
while (child != (XMLTreeInfo *) NULL)
{
content=GetXMLTreeContent(child);
if (SkipXMPValue(content) == MagickFalse)
{
- namespace=ConstantString(GetXMLTreeTag(node));
- (void) SubstituteString(&namespace,"exif:","xmp:");
+ xml_namespace=ConstantString(GetXMLTreeTag(node));
+ (void) SubstituteString(&xml_namespace,"exif:","xmp:");
(void) AddValueToSplayTree((SplayTreeInfo *) image->properties,
- namespace,ConstantString(content));
+ xml_namespace,ConstantString(content));
}
child=GetXMLTreeSibling(child);
}
quantum_info->endian=LSBEndian;
quantum_type=RGBQuantum;
tiff_pixels=(unsigned char *) AcquireMagickMemory(MagickMax(
- TIFFScanlineSize(tiff),(size_t) (image->columns*samples_per_pixel*
+ TIFFScanlineSize(tiff),(ssize_t) (image->columns*samples_per_pixel*
pow(2.0,ceil(log(bits_per_sample)/log(2.0))))));
if (tiff_pixels == (unsigned char *) NULL)
{