mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Make a cast explicit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7783e8ad69
commit
170eb10083
@ -148,7 +148,7 @@ static TimeRecord getTimeRecord(bool Start) {
|
||||
}
|
||||
|
||||
TimeRecord Result;
|
||||
Result.Elapsed = T.tv_sec + T.tv_usec/1000000.0;
|
||||
Result.Elapsed = double(T.tv_sec) + T.tv_usec/1000000.0;
|
||||
Result.UserTime = RU.ru_utime.tv_sec + RU.ru_utime.tv_usec/1000000.0;
|
||||
Result.SystemTime = RU.ru_stime.tv_sec + RU.ru_stime.tv_usec/1000000.0;
|
||||
Result.MemUsed = MemUsed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user