]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 26 May 2012 19:23:56 +0000 (19:23 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 26 May 2012 19:23:56 +0000 (19:23 +0000)
coders/sfw.c

index cfefefe5588133f8c315f5ae069c88297c17dcb6..e859f5a137be30002184074bd9ae555a39e40d30 100644 (file)
@@ -129,10 +129,10 @@ static unsigned char *SFWScan(const unsigned char *p,const unsigned char *q,
   if ((p+length) < q)
     while (p < q)
     {
-      for (i=0; i < length; i++)
+      for (i=0; i < (ssize_t) length; i++)
         if (p[i] != target[i])
           break;
-      if (i == length)
+      if (i == (ssize_t) length)
         return((unsigned char *) p);
       p++;
     }