From 22c838cbef661c88bf075b3731828480051abdc6 Mon Sep 17 00:00:00 2001 From: "brade%netscape.com" Date: Thu, 25 May 2000 15:46:41 +0000 Subject: [PATCH] fix mac build bustage --- content/html/document/src/nsHTMLDocument.cpp | 4 +++- layout/html/document/src/nsHTMLDocument.cpp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/content/html/document/src/nsHTMLDocument.cpp b/content/html/document/src/nsHTMLDocument.cpp index 0466150696c..62c234b0c09 100644 --- a/content/html/document/src/nsHTMLDocument.cpp +++ b/content/html/document/src/nsHTMLDocument.cpp @@ -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 diff --git a/layout/html/document/src/nsHTMLDocument.cpp b/layout/html/document/src/nsHTMLDocument.cpp index 0466150696c..62c234b0c09 100644 --- a/layout/html/document/src/nsHTMLDocument.cpp +++ b/layout/html/document/src/nsHTMLDocument.cpp @@ -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