Fixing bustage ("ambiguous conversion" from gcc 3.3.1)

This commit is contained in:
kjh-5727%comcast.net 2004-07-31 15:56:39 +00:00
Родитель 087493afa5
Коммит ef87184836
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;