diff --git a/content/base/src/nsContentSink.cpp b/content/base/src/nsContentSink.cpp index 9e286c87db62..d2815453ae6c 100644 --- a/content/base/src/nsContentSink.cpp +++ b/content/base/src/nsContentSink.cpp @@ -1257,10 +1257,9 @@ nsContentSink::IsTimeToNotify() } PRTime now = PR_Now(); - int64_t interval, diff; - LL_I2L(interval, GetNotificationInterval()); - diff = now - mLastNotificationTime; + int64_t interval = GetNotificationInterval(); + int64_t diff = now - mLastNotificationTime; if (diff > interval) { mBackoffCount--; diff --git a/rdf/base/src/rdfutil.cpp b/rdf/base/src/rdfutil.cpp index 982174ccc0a5..b4af38f77253 100644 --- a/rdf/base/src/rdfutil.cpp +++ b/rdf/base/src/rdfutil.cpp @@ -104,9 +104,7 @@ rdf_ParseDate(const nsACString &aTime) usec += *digit - '0'; } - PRTime temp; - LL_I2L(temp, usec); - t += temp; + t += usec; } return t; diff --git a/rdf/datasource/src/nsFileSystemDataSource.cpp b/rdf/datasource/src/nsFileSystemDataSource.cpp index 4eebb875ba0a..d6893a4ebc42 100644 --- a/rdf/datasource/src/nsFileSystemDataSource.cpp +++ b/rdf/datasource/src/nsFileSystemDataSource.cpp @@ -1109,11 +1109,7 @@ FileSystemDataSource::GetLastMod(nsIRDFResource *source, nsIRDFDate **aResult) return(rv); // convert from milliseconds to seconds - PRTime temp64, thousand; - LL_I2L(thousand, PR_MSEC_PER_SEC); - temp64 = lastModDate * thousand; - - mRDFService->GetDateLiteral(temp64, aResult); + mRDFService->GetDateLiteral(lastModDate * PR_MSEC_PER_SEC, aResult); return(NS_OK); }