mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Fix warning: comparison between signed and unsigned integer expressions
/retroshare-gui/src/gui/gxsforums/GxsForumsFillThread.cpp:286: warning: comparison between signed and unsigned integer expressions [-Wsign- compare] for(uint32_t i=1;i<(*it).size();++i)
This commit is contained in:
parent
6fd03087d2
commit
3a22c6d302
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ void GxsForumsFillThread::run()
|
||||||
// Now make sure that message parents are consistent. Indeed, an old post may have the old version of a post as parent. So we need to change that parent
|
// Now make sure that message parents are consistent. Indeed, an old post may have the old version of a post as parent. So we need to change that parent
|
||||||
// to the newest version. So we create a map of which is the most recent version of each message, so that parent messages can be searched in it.
|
// to the newest version. So we create a map of which is the most recent version of each message, so that parent messages can be searched in it.
|
||||||
|
|
||||||
for(uint32_t i=1;i<(*it).size();++i)
|
for(int i=1;i<(*it).size();++i)
|
||||||
most_recent_versions[(*it)[i].second] = (*it)[0].second ;
|
most_recent_versions[(*it)[i].second] = (*it)[0].second ;
|
||||||
}
|
}
|
||||||
mPostVersions = mTmp ;
|
mPostVersions = mTmp ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue