Bug 788021 followup: cast PR_NOW() to int64_t to fix a build failure on OpenBSD. r=jlebar

This commit is contained in:
Landry Breuil 2012-10-06 11:03:52 +02:00
parent 1aa8941770
commit e19994e1dd

View File

@ -1149,7 +1149,7 @@ nsMemoryReporterManager::DumpMemoryReportsToFile(
// memory report request.
nsString identifier(aIdentifier);
if (identifier.IsEmpty()) {
identifier.AppendInt(PR_Now() / 1000000);
identifier.AppendInt(static_cast<int64_t>(PR_Now()) / 1000000);
}
// Kick off memory report dumps in our child processes, if applicable. We