Bug 1038

Summary: Time::Get*Seconds () return signed integer while actually returning unsigned.
Product: ns-3 Reporter: Andrey Mazo <ahippo>
Component: coreAssignee: Mathieu Lacage <mathieu.lacage>
Severity: trivial CC: mathieu.lacage, ns-bugs
Priority: P4    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Andrey Mazo 2010-12-20 04:34:25 EST
For example, GetMicroSeconds () as of revision [6f1114f669ff]:

inline int64_t GetMicroSeconds (void) const
  return ToInteger (*this, Time::US);

while ToInteger ():

inline static uint64_t ToInteger (const Time &time, enum Unit timeUnit)

It looks like to be already fixed in mathieu/ns-3-time repository.
Comment 1 Mathieu Lacage 2011-04-17 08:25:34 EDT
ns-3-time merged.