|
Bugzilla – Full Text Bug Listing |
| Summary: | ns2-calendar-queue may not build | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Component: | core | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mathieu.lacage |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | patch | ||
changeset c0e44280dc27 |
Created attachment 353 [details] patch ../src/simulator/ns2-calendar-scheduler.cc: In constructor `ns3::Ns2CalendarScheduler::Ns2CalendarScheduler()': ../src/simulator/ns2-calendar-scheduler.cc:61: warning: passing `double' for converting 2 of `void ns3::Ns2CalendarScheduler::reinit(int, uint64_t, ns3::Scheduler::EventKey)' ../src/simulator/ns2-calendar-scheduler.cc: In member function `void ns3::Ns2CalendarScheduler::resize(int, ns3::Scheduler::EventKey)': ../src/simulator/ns2-calendar-scheduler.cc:391: warning: passing `double' for converting 2 of `void ns3::Ns2CalendarScheduler::reinit(int, uint64_t, ns3::Scheduler::EventKey)' ../src/simulator/ns2-calendar-scheduler.cc: In member function `uint64_t ns3::Ns2CalendarScheduler::newwidth(int)': ../src/simulator/ns2-calendar-scheduler.cc:472: warning: converting to `uint64_t' from `double' ../src/simulator/ns2-calendar-scheduler.cc:488: warning: converting to `uint64_t' from `double' The attached patch makes it compile, but I have no idea if it is correct.