From: cristy Date: Tue, 19 Feb 2013 15:03:45 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a30f8e619f24abab21448ee8019794e47e0baed9;p=imagemagick --- diff --git a/MagickWand/operation.c b/MagickWand/operation.c index a9c7b134f..df93a44d8 100644 --- a/MagickWand/operation.c +++ b/MagickWand/operation.c @@ -1310,8 +1310,8 @@ interpret Percent Escapes in Arguments, At least not yet */ if (IfMagickFalse(IsGeometry(arg1))) CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1); SetRandomSecretKey( - IfSetOption ? (const unsigned long) StringToUnsignedLong(arg1) - : (const unsigned long) time((time_t *) NULL) ); + IfSetOption ? (unsigned long) StringToUnsignedLong(arg1) + : (unsigned long) time((time_t *) NULL) ); break; } if (LocaleCompare("size",option+1) == 0) @@ -3486,18 +3486,18 @@ WandPrivate MagickBooleanType CLISimpleOperatorImages(MagickCLI *cli_wand, WandPrivate MagickBooleanType CLIListOperatorImages(MagickCLI *cli_wand, const char *option,const char *arg1n,const char *arg2n) { - MagickBooleanType - status; - - ssize_t - parse; + const char /* For percent escape interpretImageProperties() */ + *arg1, + *arg2; Image *new_images; - const char /* For percent escape interpretImageProperties() */ - *arg1, - *arg2; + MagickStatusType + status; + + ssize_t + parse; #define _image_info (cli_wand->wand.image_info) #define _images (cli_wand->wand.images)