From 151c66ce6e04a361ba5bc34776cf6f5146fc53b5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Apr 2020 20:34:06 +0200 Subject: Fix comparisons between signed and unsigned values. --- src/JP2K_Sequence_Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/JP2K_Sequence_Parser.cpp') diff --git a/src/JP2K_Sequence_Parser.cpp b/src/JP2K_Sequence_Parser.cpp index c561033..a8de925 100755 --- a/src/JP2K_Sequence_Parser.cpp +++ b/src/JP2K_Sequence_Parser.cpp @@ -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; -- cgit v1.2.3