aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/processor/fib.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/processor/fib.c')
-rw-r--r--hicn-light/src/processor/fib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/processor/fib.c b/hicn-light/src/processor/fib.c
index 33d31fd8a..c7b1e2de2 100644
--- a/hicn-light/src/processor/fib.c
+++ b/hicn-light/src/processor/fib.c
@@ -429,7 +429,7 @@ FibEntry *fib_Match(const FIB *fib, const Message *interestMessage) {
}
void _collectFibEntries(FibNode *n, int pos, FibEntryList *list) {
- if (n->pos < pos) {
+ if (n->pos < (unsigned)pos) {
fibEntryList_Append(list, n->entry);
_collectFibEntries(n->left, n->pos, list);
_collectFibEntries(n->right, n->pos, list);