Bug 472

Summary: ns2-calendar-queue may not build
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mathieu.lacage
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch

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