build: Update for the new time structs in ndn-cpp-dev

Change-Id: I1dcf4bcc5ae74a37014652b8dc4b9b69fb2c670d
refs: #1373
diff --git a/ndn-traffic-client.cpp b/ndn-traffic-client.cpp
index c82b873..403bdaf 100644
--- a/ndn-traffic-client.cpp
+++ b/ndn-traffic-client.cpp
@@ -631,9 +631,9 @@
                 if (trafficPattern_[patternId].scope >= 0)
                   interest.setScope(trafficPattern_[patternId].scope);
                 if (trafficPattern_[patternId].interestLifetime >= 0)
-                  interest.setInterestLifetime(trafficPattern_[patternId].interestLifetime);
+                  interest.setInterestLifetime(time::milliseconds(trafficPattern_[patternId].interestLifetime));
                 else
-                  interest.setInterestLifetime(getDefaultInterestLifetime());
+                  interest.setInterestLifetime(time::milliseconds(getDefaultInterestLifetime()));
                 try {
                   totalInterestSent_++;
                   trafficPattern_[patternId].totalInterestSent++;