]> granicus.if.org Git - imagemagick/commitdiff
Fix for 64 bit build.
authordirk <dirk@git.imagemagick.org>
Thu, 28 Aug 2014 18:58:23 +0000 (18:58 +0000)
committerdirk <dirk@git.imagemagick.org>
Thu, 28 Aug 2014 18:58:23 +0000 (18:58 +0000)
MagickCore/property.c

index a74a22de8f551e361232e247b30b2430a12d0043..ebcb83cde3fc6361c6bad17108de25743d10394c 100644 (file)
@@ -1996,12 +1996,12 @@ static char *TraceSVGClippath(const unsigned char *blob,size_t length,
         */
         for (i=0; i < 3; i++)
         {
-          size_t
+          unsigned int
             xx,
             yy;
 
-          yy=(size_t) ((int) ReadPropertyMSBLong(&blob,&length));
-          xx=(size_t) ((int) ReadPropertyMSBLong(&blob,&length));
+          yy=(unsigned int) ((int) ReadPropertyMSBLong(&blob,&length));
+          xx=(unsigned int) ((int) ReadPropertyMSBLong(&blob,&length));
           x=(ssize_t) xx;
           if (xx > 2147483647)
             x=(ssize_t) xx-4294967295U-1;