Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg

This commit is contained in:
Ms2ger
2012-08-09 09:09:42 +02:00
parent c8ea20cf42
commit dad17c4159
15 changed files with 16 additions and 17 deletions

View File

@@ -991,7 +991,7 @@ nsLocalFile::SetLastModifiedTime(PRInt64 aLastModTime)
ut.actime = mCachedStat.st_atime;
// convert milliseconds to seconds since the unix epoch
ut.modtime = (time_t)(PRFloat64(aLastModTime) / PR_MSEC_PER_SEC);
ut.modtime = (time_t)(double(aLastModTime) / PR_MSEC_PER_SEC);
result = utime(mPath.get(), &ut);
} else {
result = utime(mPath.get(), nullptr);