someone forgot and explicit Scalar
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 14 Jul 2010 21:43:55 +0200
changeset 6517 a0a4bad73684
parent 6516 861add2d9893
child 6518 687b051c3039
someone forgot and explicit Scalar
src/devices/csma/backoff.cc
--- a/src/devices/csma/backoff.cc	Wed Jul 14 21:25:06 2010 +0200
+++ b/src/devices/csma/backoff.cc	Wed Jul 14 21:43:55 2010 +0200
@@ -67,7 +67,7 @@
 
   uint32_t backoffSlots = (uint32_t)m_rng.GetValue(minSlot, maxSlot);
 
-  backoff = backoffSlots * m_slotTime;
+  backoff = Scalar (backoffSlots) * m_slotTime;
   return (backoff);
 }