DecoderSelector: Avoid non-standard variable type.
[pulseview.git] / pv / subwindows / decoder_selector / item.cpp
index 417c5bfbbe95e98d26448a0b02809de477c329c0..0ce5ab73844c61eb41e669ca127247210e443caf 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;