time: Changing time units to have int64_t type instead of double
Change-Id: Ic5bbf0a85c20e84fd13af593b4a65d2625153843
diff --git a/src/node.cpp b/src/node.cpp
index 7d04203..408811b 100644
--- a/src/node.cpp
+++ b/src/node.cpp
@@ -338,11 +338,11 @@
interestStruct_(new struct ndn_Interest)
{
// Set up timeoutTime_.
- if (interest_->getInterestLifetimeMilliseconds() >= 0.0)
+ if (interest_->getInterestLifetimeMilliseconds() >= 0)
timeoutTimeMilliseconds_ = ndn_getNowMilliseconds() + interest_->getInterestLifetimeMilliseconds();
else
// No timeout.
- timeoutTimeMilliseconds_ = -1.0;
+ timeoutTimeMilliseconds_ = -1;
// Set up interestStruct_.
// TODO: Doesn't this belong in the Interest class?