DecoderSelector: Avoid non-standard variable type.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 14 Mar 2019 20:49:39 +0000 (21:49 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 14 Mar 2019 21:49:24 +0000 (22:49 +0100)
pv/subwindows/decoder_selector/item.cpp

index 417c5bf..0ce5ab7 100644 (file)
@@ -74,7 +74,7 @@ int DecoderCollectionItem::columnCount() const
 int DecoderCollectionItem::row() const
 {
        if (parent_)
-               for (uint i = 0; i < parent_->subItems_.size(); i++)
+               for (size_t i = 0; i < parent_->subItems_.size(); i++)
                        if (parent_->subItems_.at(i).get() == const_cast<DecoderCollectionItem*>(this))
                                return i;