File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ MagickExport Image *AcquireImage(const ImageInfo *image_info)
136136 Image
137137 * image ;
138138
139- int
139+ MagickSizeType
140140 time_limit ;
141141
142142 MagickStatusType
@@ -184,9 +184,9 @@ MagickExport Image *AcquireImage(const ImageInfo *image_info)
184184 image -> blob = CloneBlobInfo ((BlobInfo * ) NULL );
185185 InitializeExceptionInfo (& image -> exception );
186186 image -> timestamp = GetMagickTime ();
187- time_limit = ( int ) GetMagickResourceLimit (TimeResource );
187+ time_limit = GetMagickResourceLimit (TimeResource );
188188 if (time_limit != MagickResourceInfinity )
189- image -> ttl = image -> timestamp + time_limit ;
189+ image -> ttl = image -> timestamp + ( time_t ) time_limit ;
190190 image -> debug = (GetLogEventMask () & (ImageEvent | TransformEvent | CoderEvent ))
191191 != 0 ? MagickTrue : MagickFalse ;
192192 image -> reference_count = 1 ;
You can’t perform that action at this time.
0 commit comments