From 491793d1c9f224c87301dde5b9099c1c492489d7 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 28 Jul 2018 08:25:39 -0400 Subject: [PATCH] ... --- MagickCore/constitute.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) -- 2.40.0