Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user