From e67f43f8af5feb0f08d04b14dce7ccc162973715 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 29 Apr 2013 10:27:50 +0000 Subject: [PATCH] --- coders/caption.c | 10 ++++++---- coders/info.c | 3 ++- coders/label.c | 4 ++-- coders/pango.c | 10 ++++++---- 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/coders/caption.c b/coders/caption.c index 555bc0f53..66d09c0a6 100644 --- a/coders/caption.c +++ b/coders/caption.c @@ -139,13 +139,15 @@ static Image *ReadCAPTIONImage(const ImageInfo *image_info, */ option=GetImageOption(image_info,"filename"); if (option == (const char *) NULL) - property=InterpretImageProperties(image_info,image,image_info->filename, - exception); + property=InterpretImageProperties((ImageInfo *) image_info,image, + image_info->filename,exception); else if (LocaleNCompare(option,"caption:",8) == 0) - property=InterpretImageProperties(image_info,image,option+8,exception); + property=InterpretImageProperties((ImageInfo *) image_info,image,option+8, + exception); else - property=InterpretImageProperties(image_info,image,option,exception); + property=InterpretImageProperties((ImageInfo *) image_info,image,option, + exception); (void) SetImageProperty(image,"caption",property,exception); property=DestroyString(property); caption=ConstantString(GetImageProperty(image,"caption",exception)); diff --git a/coders/info.c b/coders/info.c index bd95686e5..708e2dc1b 100644 --- a/coders/info.c +++ b/coders/info.c @@ -198,7 +198,8 @@ static MagickBooleanType WriteINFOImage(const ImageInfo *image_info, char *text; - text=InterpretImageProperties(image_info,image,format,exception); + text=InterpretImageProperties((ImageInfo *) image_info,image,format, + exception); if (text != (char *) NULL) { (void) WriteBlobString(image,text); diff --git a/coders/label.c b/coders/label.c index cbcbe4331..c2a9463e2 100644 --- a/coders/label.c +++ b/coders/label.c @@ -124,8 +124,8 @@ static Image *ReadLABELImage(const ImageInfo *image_info, assert(exception->signature == MagickSignature); image=AcquireImage(image_info,exception); (void) ResetImagePage(image,"0x0+0+0"); - property=InterpretImageProperties(image_info,image,image_info->filename, - exception); + property=InterpretImageProperties((ImageInfo *) image_info,image, + image_info->filename,exception); (void) SetImageProperty(image,"label",property,exception); property=DestroyString(property); label=GetImageProperty(image,"label",exception); diff --git a/coders/pango.c b/coders/pango.c index a0ed05994..62d56b2eb 100644 --- a/coders/pango.c +++ b/coders/pango.c @@ -179,13 +179,15 @@ static Image *ReadPANGOImage(const ImageInfo *image_info, */ option=GetImageOption(image_info,"filename"); if (option == (const char *) NULL) - property=InterpretImageProperties(image_info,image,image_info->filename, - exception); + property=InterpretImageProperties((ImageInfo *) image_info,image, + image_info->filename,exception); else if (LocaleNCompare(option,"pango:",6) == 0) - property=InterpretImageProperties(image_info,image,option+6,exception); + property=InterpretImageProperties((ImageInfo *) image_info,image,option+6, + exception); else - property=InterpretImageProperties(image_info,image,option,exception); + property=InterpretImageProperties((ImageInfo *) image_info,image,option, + exception); (void) SetImageProperty(image,"caption",property,exception); property=DestroyString(property); caption=ConstantString(GetImageProperty(image,"caption",exception)); -- 2.50.1