mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
fix mac bustage
This commit is contained in:
parent
9594a3fbce
commit
3a67dc577b
@ -236,7 +236,7 @@ GetAgeInDays(PRInt64 aNormalizedNow, PRInt64 aDate)
|
||||
// two-step process since I can't seem to load
|
||||
// MSECS_PER_DAY * PR_MSEC_PER_SEC into a PRInt64 at compile time
|
||||
PRInt64 msecPerSec;
|
||||
LL_L2I(msecPerSec, PR_MSEC_PER_SEC);
|
||||
LL_I2L(msecPerSec, PR_MSEC_PER_SEC);
|
||||
PRInt64 ageInSeconds;
|
||||
LL_DIV(ageInSeconds, diff, msecPerSec);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user