[Ns-bugs] [Bug 472] New: ns2-calendar-queue may not build

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Sat Jan 17 09:02:49 PST 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=472

           Summary: ns2-calendar-queue may not build
           Product: ns-3
           Version: ns-3-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: simulation core
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: gjcarneiro at gmail.com
   Estimated Hours: 0.0


Created an attachment (id=353)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=353)
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.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list