Author: post
Date: 2010-07-15 16:41:39 +0200 (Thu, 15 Jul 2010)
New Revision: 263

Modified:
   RawSpeed/Rw2Decoder.cpp
Log:
Fix GCC warning.

Modified: RawSpeed/Rw2Decoder.cpp
===================================================================
--- RawSpeed/Rw2Decoder.cpp     2010-07-15 14:28:08 UTC (rev 262)
+++ RawSpeed/Rw2Decoder.cpp     2010-07-15 14:41:39 UTC (rev 263)
@@ -67,7 +67,7 @@
       ThrowRDE("Panasonic RAW Decoder: Invalid image data offset, cannot 
decode.");
 
     int count = counts->getInt();
-    if (count != width*height*2)
+    if (count != (int)(width*height*2))
       ThrowRDE("Panasonic RAW Decoder: Byte count is wrong.");
 
     ByteStream input_start(mFile->getData(off), mFile->getSize() - off);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to