Fix comparisons between signed and unsigned values.
[asdcplib.git] / src / JP2K_Sequence_Parser.cpp
index c5610337fd3fedbd863b792b5632a1810cec9d63..a8de92510bc14fb2985c2f6ef2cf6103b53ef019 100755 (executable)
@@ -259,7 +259,7 @@ operator==(const ASDCP::JP2K::ExtendedCapabilities_t& lhs, const ASDCP::JP2K::Ex
 
                if (lhs.Pcap != rhs.Pcap) return false;
 
-               for (ui32_t i = 0; i < lhs.N; i++)
+               for (i32_t i = 0; i < lhs.N; i++)
                {
                        if (lhs.Ccap[i] != rhs.Ccap[i])
                                return false;