fix mac build bustage

git-svn-id: svn://10.0.0.236/trunk@70848 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com 2000-05-25 15:46:41 +00:00
parent 1a18ba7957
commit 8e4e55a454
2 changed files with 6 additions and 2 deletions

View File

@ -513,8 +513,10 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
if (NS_FAILED(rv)) { return rv; }
PRExplodedTime prtime;
char buf[100];
PRInt64 intermediateValue;
LL_MUL(usecs, modDate, PR_USEC_PER_MSEC);
LL_I2L(intermediateValue, PR_USEC_PER_SEC);
LL_MUL(usecs, modDate, intermediateValue);
PR_ExplodeTime(usecs, PR_LocalTimeParameters, &prtime);
// Use '%#c' for windows, because '%c' is backward-compatible and

View File

@ -513,8 +513,10 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
if (NS_FAILED(rv)) { return rv; }
PRExplodedTime prtime;
char buf[100];
PRInt64 intermediateValue;
LL_MUL(usecs, modDate, PR_USEC_PER_MSEC);
LL_I2L(intermediateValue, PR_USEC_PER_SEC);
LL_MUL(usecs, modDate, intermediateValue);
PR_ExplodeTime(usecs, PR_LocalTimeParameters, &prtime);
// Use '%#c' for windows, because '%c' is backward-compatible and