[Lldb-commits] [lldb] r105812 - in /lldb/trunk: include/lldb/Host/TimeValue.h source/Host/macosx/TimeValue.cpp

Eli Friedman eli.friedman at gmail.com
Thu Jun 10 21:50:35 PDT 2010


Author: efriedma
Date: Thu Jun 10 23:50:35 2010
New Revision: 105812

URL: http://llvm.org/viewvc/llvm-project?rev=105812&view=rev
Log:
Fix TimeValue::Offset* to take uint64_t


Modified:
    lldb/trunk/include/lldb/Host/TimeValue.h
    lldb/trunk/source/Host/macosx/TimeValue.cpp

Modified: lldb/trunk/include/lldb/Host/TimeValue.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/TimeValue.h?rev=105812&r1=105811&r2=105812&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/TimeValue.h (original)
+++ lldb/trunk/include/lldb/Host/TimeValue.h Thu Jun 10 23:50:35 2010
@@ -57,13 +57,13 @@
     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();

Modified: lldb/trunk/source/Host/macosx/TimeValue.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/TimeValue.cpp?rev=105812&r1=105811&r2=105812&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/TimeValue.cpp (original)
+++ lldb/trunk/source/Host/macosx/TimeValue.cpp Thu Jun 10 23:50:35 2010
@@ -97,19 +97,19 @@
 }
 
 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;
 }





More information about the lldb-commits mailing list