Update of /cvsroot/ufraw/ufraw
In directory vz-cvs-3.sog:/tmp/cvs-serv32334

Modified Files:
        dcraw.cc 
Log Message:
Fix compiler warnings with GCC 4.4.x.

Index: dcraw.cc
===================================================================
RCS file: /cvsroot/ufraw/ufraw/dcraw.cc,v
retrieving revision 1.267
retrieving revision 1.268
diff -u -d -r1.267 -r1.268
--- dcraw.cc    26 Jun 2012 16:15:26 -0000      1.267
+++ dcraw.cc    28 Jun 2012 16:00:07 -0000      1.268
@@ -2939,7 +2939,7 @@
   FORC3 {
     fseek (ifp, data_offset+roff[c], SEEK_SET);
     getbits(-1);
-    vpred = 1024;
+    hpred = vpred = 1024;
     for (row=0; row < height; row++) {
       for (col=0; col < width; col++) {
        diff = ljpeg_diff(huff);
@@ -4779,7 +4779,7 @@
     if (tag == 0xd && type == 7 && get2() == 0xaaaa) {
       for (c=i=2; (ushort) c != 0xbbbb && (unsigned) i < len; i++)
        c = c << 8 | fgetc(ifp);
-      while ((i+=4) < len-5)
+      while ((unsigned)(i+=4) < len-5)
        if (get4() == 257 && (i=len) && (c = (get4(),fgetc(ifp))) < 3)
          flip = "065"[c]-'0';
     }


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to