mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix Clang warnings: comparison of integers of different signs
warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] for(uint32_t i=0;i<(*it).size();++i) ~^~~~~~~~~~~~~
This commit is contained in:
parent
a476a8138c
commit
0bbd1499d4
@ -1607,7 +1607,7 @@ void GxsForumThreadWidget::insertMessage()
|
||||
|
||||
int current_index = 0 ;
|
||||
|
||||
for(uint32_t i=0;i<(*it).size();++i)
|
||||
for(int i=0;i<(*it).size();++i)
|
||||
{
|
||||
ui->versions_CB->insertItem(i, ((i==0)?tr("(Latest) "):tr("(Old) "))+" "+DateTime::formatLongDateTime( (*it)[i].first));
|
||||
ui->versions_CB->setItemData(i,QString::fromStdString((*it)[i].second.toStdString()));
|
||||
|
Loading…
Reference in New Issue
Block a user