]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 28 Jul 2018 12:25:39 +0000 (08:25 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 28 Jul 2018 12:25:39 +0000 (08:25 -0400)
MagickCore/constitute.c

index 27de178d1f3020175fbe6d99d3ec6881e3d8c3c3..0f61af41115925e17151d4379e14680383cda3ea 100644 (file)
@@ -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)