mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
warning suppression
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2411 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
80b44220fb
commit
e4a508ab5b
2 changed files with 3 additions and 3 deletions
|
@ -242,7 +242,7 @@ bool ftExtraList::cleanupOldFiles()
|
|||
for(it = mFiles.begin(); it != mFiles.end(); it++)
|
||||
{
|
||||
/* check timestamps */
|
||||
if (it->second.info.age < (unsigned) now)
|
||||
if ((time_t)it->second.info.age < now)
|
||||
{
|
||||
toRemove.push_back(it->first);
|
||||
}
|
||||
|
@ -432,7 +432,7 @@ bool ftExtraList::loadList(std::list<RsItem *> load)
|
|||
|
||||
fclose(fd);
|
||||
|
||||
if (ts > fi->file.age)
|
||||
if (ts > (time_t)fi->file.age)
|
||||
{
|
||||
/* to old */
|
||||
cleanupEntry(fi->file.path, fi->flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue