diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-02-10 13:34:22 +0100 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-02-10 14:23:51 +0100 |
commit | 1ac41cb08281bf5460dfea5fc40ff6f8e14873a1 (patch) | |
tree | 3926983e45afa7e805cca1429fc3452c57a5b6c3 /hicn-light/src/processor/fibEntry.c | |
parent | 13ec18b4b3ec8455daad674a0c0e616885b83608 (diff) |
[HICN-49] Remove warnings hicn-light on windows
Change-Id: I106713c285ad5cc47cb5ae3aaf9c837685156e36
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'hicn-light/src/processor/fibEntry.c')
-rw-r--r-- | hicn-light/src/processor/fibEntry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/processor/fibEntry.c b/hicn-light/src/processor/fibEntry.c index bb877030f..6d741e312 100644 --- a/hicn-light/src/processor/fibEntry.c +++ b/hicn-light/src/processor/fibEntry.c @@ -137,7 +137,7 @@ void fibEntry_SetStrategy(FibEntry *fibEntry, strategy_type strategy) { } const NumberSet *nexthops = fibEntry_GetNexthops(fibEntry); - unsigned size = fibEntry_NexthopCount(fibEntry); + unsigned size = (unsigned)fibEntry_NexthopCount(fibEntry); for (unsigned i = 0; i < size; i++) { fwdStrategyImpl->addNexthop(fwdStrategyImpl, numberSet_GetItem(nexthops, i)); |