mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 01:31:30 -05: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
@ -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
|
||||
// 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 ;
|
||||
}
|
||||
mPostVersions = mTmp ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user