From: Uwe Hermann Date: Thu, 14 Mar 2019 20:49:39 +0000 (+0100) Subject: DecoderSelector: Avoid non-standard variable type. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8c78aa6c291ece71a577bcb54b9180199b278da6;p=pulseview.git DecoderSelector: Avoid non-standard variable type. --- diff --git a/pv/subwindows/decoder_selector/item.cpp b/pv/subwindows/decoder_selector/item.cpp index 417c5bfb..0ce5ab73 100644 --- a/pv/subwindows/decoder_selector/item.cpp +++ b/pv/subwindows/decoder_selector/item.cpp @@ -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(this)) return i;