Come on guys, getc() has forever been returning int in the C universe ;)
-Volker

--- ImageMagick-6.2.6/wand/animate.c.orig       2006-01-13 17:49:46.000000000 
+1300
+++ ImageMagick-6.2.6/wand/animate.c    2006-01-21 14:59:30.000000000 +1300
@@ -353,11 +353,11 @@
           option="logo:";
         else
           {
-            char
+            int
               c;
 
             c=getc(stdin);
-            if ((int) c == EOF)
+            if (c == EOF)
               option="logo:";
             else
               {
--- ImageMagick-6.2.6/wand/display.c.orig       2006-01-13 17:49:46.000000000 
+1300
+++ ImageMagick-6.2.6/wand/display.c    2006-01-21 14:59:48.000000000 +1300
@@ -407,11 +407,11 @@
           option="logo:";
         else
           {
-            char
+            int
               c;
 
             c=getc(stdin);
-            if ((int) c == EOF)
+            if (c == EOF)
               break;
             else
               {


-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to