[Sumover-dev] [svn commit] r3772 - vic/trunk/codec/jpeg

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Fri Jul 21 12:47:45 BST 2006


Author: socrates
Date: Fri Jul 21 12:47:45 2006
New Revision: 3772

Modified:
   vic/trunk/codec/jpeg/jpeg.cpp

Log:
Got rid of multiple Windows compile-time warnings (VS7.0).

Modified: vic/trunk/codec/jpeg/jpeg.cpp
==============================================================================
--- vic/trunk/codec/jpeg/jpeg.cpp	(original)
+++ vic/trunk/codec/jpeg/jpeg.cpp	Fri Jul 21 12:47:45 2006
@@ -823,9 +823,10 @@
 			/* restart interval definition */
 			t = *in++ << 8;
 			t |= *in++;
-			if (t != 4)
+			if (t != 4) {
 				/* XXX bad length */
 				;
+			}
 			rlen_ = *in++ << 8;
 			rlen_ |= *in++;
 			rcnt_ = 0;



More information about the Sumover-dev mailing list