mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
Fixing bustage ("ambiguous conversion" from gcc 3.3.1)
This commit is contained in:
parent
b314485f51
commit
8db0fb69b9
@ -175,7 +175,7 @@ nsresult nsMsgPurgeService::PerformPurge()
|
||||
PR_LOG(MsgPurgeLogModule, PR_LOG_ALWAYS, ("%d servers", numServers));
|
||||
nsCOMPtr<nsIMsgFolder> folderToPurge;
|
||||
PRInt32 purgeIntervalToUse;
|
||||
PRInt64 oldestPurgeTime = 0; // we're going to pick the least-recently purged folder
|
||||
nsTime oldestPurgeTime = 0; // we're going to pick the least-recently purged folder
|
||||
for (PRUint32 serverIndex=0; serverIndex < numServers; serverIndex++)
|
||||
{
|
||||
nsCOMPtr <nsIMsgIncomingServer> server =
|
||||
@ -295,7 +295,7 @@ nsresult nsMsgPurgeService::PerformPurge()
|
||||
spamSettings->GetPurgeInterval(&purgeInterval);
|
||||
PR_LOG(MsgPurgeLogModule, PR_LOG_ALWAYS, ("[%d] purging! searching for messages older than %d days", serverIndex, purgeInterval));
|
||||
|
||||
if (!oldestPurgeTime || LL_CMP(oldestPurgeTime, >, lastPurgeTime))
|
||||
if ((oldestPurgeTime == nsInt64(0)) || (oldestPurgeTime > lastPurgeTime))
|
||||
{
|
||||
oldestPurgeTime = lastPurgeTime;
|
||||
purgeIntervalToUse = purgeInterval;
|
||||
|
Loading…
Reference in New Issue
Block a user