diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2010-06-11 04:50:35 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2010-06-11 04:50:35 +0000 |
| commit | 8d860d557f3658859972d694f3e2bb99eda6bdf3 (patch) | |
| tree | 85f3ad74184e088359fc6a17066bc9b0b31ed37f | |
| parent | e01b70bf307bf64abfa100e3a93dcce83fc0fb44 (diff) | |
| download | bcm5719-llvm-8d860d557f3658859972d694f3e2bb99eda6bdf3.tar.gz bcm5719-llvm-8d860d557f3658859972d694f3e2bb99eda6bdf3.zip | |
Fix TimeValue::Offset* to take uint64_t
llvm-svn: 105812
| -rw-r--r-- | lldb/include/lldb/Host/TimeValue.h | 6 | ||||
| -rw-r--r-- | lldb/source/Host/macosx/TimeValue.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lldb/include/lldb/Host/TimeValue.h b/lldb/include/lldb/Host/TimeValue.h index 623660e2908..11fe0f65696 100644 --- a/lldb/include/lldb/Host/TimeValue.h +++ b/lldb/include/lldb/Host/TimeValue.h @@ -57,13 +57,13 @@ public: IsValid () const; void - OffsetWithSeconds (uint32_t sec); + OffsetWithSeconds (uint64_t sec); void - OffsetWithMicroSeconds (uint32_t usec); + OffsetWithMicroSeconds (uint64_t usec); void - OffsetWithNanoSeconds (uint32_t nsec); + OffsetWithNanoSeconds (uint64_t nsec); static TimeValue Now(); diff --git a/lldb/source/Host/macosx/TimeValue.cpp b/lldb/source/Host/macosx/TimeValue.cpp index 27aad5f7bc7..b3f15bc2d9c 100644 --- a/lldb/source/Host/macosx/TimeValue.cpp +++ b/lldb/source/Host/macosx/TimeValue.cpp @@ -97,19 +97,19 @@ TimeValue::IsValid () const } void -TimeValue::OffsetWithSeconds (uint32_t sec) +TimeValue::OffsetWithSeconds (uint64_t sec) { m_nano_seconds += sec * NSEC_PER_SEC; } void -TimeValue::OffsetWithMicroSeconds (uint32_t usec) +TimeValue::OffsetWithMicroSeconds (uint64_t usec) { m_nano_seconds += usec * NSEC_PER_USEC; } void -TimeValue::OffsetWithNanoSeconds (uint32_t nsec) +TimeValue::OffsetWithNanoSeconds (uint64_t nsec) { m_nano_seconds += nsec; } |

