]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <mikayla-grace@urban-warrior.org>
Mon, 15 Apr 2019 13:46:21 +0000 (09:46 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Mon, 15 Apr 2019 13:46:21 +0000 (09:46 -0400)
MagickCore/timer.c
MagickWand/mogrify.c
MagickWand/operation.c

index b3d0b545e07a7899fc9662d6961ee3d412ce32aa..ca2d16bb0ff18965852e3cd569578bc14e353fe7 100644 (file)
@@ -342,7 +342,7 @@ MagickExport double GetElapsedTime(TimerInfo *time_info)
 %                                                                             %
 %                                                                             %
 %                                                                             %
-%   G e t M a g i c k T i m e                                                 %
++   G e t M a g i c k T i m e                                                 %
 %                                                                             %
 %                                                                             %
 %                                                                             %
index 0b75f36becec4066b6c75591816d4586c1977f67..fe46d1d432bd16948bba5eefe572c89a145c6253 100644 (file)
@@ -7484,7 +7484,7 @@ WandExport MagickBooleanType MogrifyImageInfo(ImageInfo *image_info,
 
             if (*option == '+')
               {
-                seed=(unsigned long) GetMagickTime();
+                seed=(unsigned long) time((time_t *) NULL);
                 SetRandomSecretKey(seed);
                 break;
               }
index e8781bc45ad6037a584d8f1fbeddb6f283d13737..f53cf6dca7c18dbc98b8cd888dafe44e08a4d18b 100644 (file)
@@ -1335,7 +1335,7 @@ WandPrivate void CLISettingOptionInfo(MagickCLI *cli_wand,
             CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1);
           SetRandomSecretKey(
                IfSetOption ? (unsigned long) StringToUnsignedLong(arg1)
-                           : (unsigned long) GetMagickTime() );
+                           : (unsigned long) time((time_t *) NULL));
           break;
         }
       if (LocaleCompare("size",option+1) == 0)