aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/strategies/lowLatency.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/strategies/lowLatency.c')
-rw-r--r--hicn-light/src/hicn/strategies/lowLatency.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hicn-light/src/hicn/strategies/lowLatency.c b/hicn-light/src/hicn/strategies/lowLatency.c
index d525f3c5c..47de73538 100644
--- a/hicn-light/src/hicn/strategies/lowLatency.c
+++ b/hicn-light/src/hicn/strategies/lowLatency.c
@@ -171,7 +171,7 @@ static void strategyLowLatency_SendProbesCB(int fd, PARCEventType which_event,
PARCUnsigned *parc_seq = parcUnsigned_Create(seq);
Ticks now = forwarder_GetTicks(ll->forwarder);
- PARCUnsigned *parc_time = parcUnsigned_Create(now);
+ PARCUnsigned *parc_time = parcUnsigned_Create((unsigned int)now);
parcHashMap_Put(ll->pending_probes_ticks, parc_seq, parc_time);
parcHashMap_Put(ll->pending_probes_faces, parc_seq, cid);
strategyNexthopStateLL_SentProbe(state);
@@ -656,7 +656,7 @@ static void _strategyLowLatency_ReceiveObject(StrategyImpl *strategy,
if(RTT <= 0)
RTT = 1;
strategyNexthopStateLL_AddRttSample(
- (StrategyNexthopStateLL *) state, RTT);
+ (StrategyNexthopStateLL *) state, (unsigned int)RTT);
parcHashMap_Remove(ll->pending_probes_ticks, parc_seq);
} else {
// this may happen if we remove a face/route while downloading a file