|
Bugzilla – Full Text Bug Listing |
| Summary: | Time::Get*Seconds () return signed integer while actually returning unsigned. | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Andrey Mazo <ahippo> |
| Component: | core | Assignee: | Mathieu Lacage <mathieu.lacage> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | CC: | mathieu.lacage, ns-bugs |
| Priority: | P4 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
ns-3-time merged. |
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.