From: Cristy Date: Sat, 28 Jul 2018 12:25:39 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-9~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=491793d1c9f224c87301dde5b9099c1c492489d7;p=imagemagick ... --- diff --git a/MagickCore/constitute.c b/MagickCore/constitute.c index 27de178d1..0f61af411 100644 --- a/MagickCore/constitute.c +++ b/MagickCore/constitute.c @@ -776,11 +776,11 @@ MagickExport Image *ReadImage(const ImageInfo *image_info, profile=GetImageProfile(next,"iptc"); if (profile == (const StringInfo *) NULL) profile=GetImageProfile(next,"8bim"); - (void) FormatMagickTime(GetBlobProperties(next)->st_mtime,MagickPathExtent, - timestamp); + (void) FormatMagickTime((time_t) GetBlobProperties(next)->st_mtime, + MagickPathExtent,timestamp); (void) SetImageProperty(next,"date:modify",timestamp,exception); - (void) FormatMagickTime(GetBlobProperties(next)->st_ctime,MagickPathExtent, - timestamp); + (void) FormatMagickTime((time_t) GetBlobProperties(next)->st_ctime, + MagickPathExtent,timestamp); (void) SetImageProperty(next,"date:create",timestamp,exception); option=GetImageOption(image_info,"delay"); if (option != (const char *) NULL)