Bug 472 - ns2-calendar-queue may not build
ns2-calendar-queue may not build
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
ns-3-dev
All All
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-17 12:02 UTC by Gustavo J. A. M. Carneiro
Modified: 2009-01-19 14:31 UTC (History)
1 user (show)

See Also:


Attachments
patch (1.12 KB, patch)
2009-01-17 12:02 UTC, Gustavo J. A. M. Carneiro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo J. A. M. Carneiro 2009-01-17 12:02:49 UTC
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.
Comment 1 Mathieu Lacage 2009-01-19 14:31:21 UTC
changeset c0e44280dc27