summaryrefslogtreecommitdiffstats
path: root/hicn-plugin
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2022-09-12 18:36:10 +0200
committerMauro Sardara <msardara@cisco.com>2022-09-12 18:36:10 +0200
commita4c11477fee6f77440dc5353595f3c1390f765b5 (patch)
treea9364c060b04e707d458487bc98fc9b800542b9c /hicn-plugin
parent6ee6b65ef03f8a479cccb2ae04e6b156f309f045 (diff)
fix(interest_manifest.h): set correct type to pos variable when using it in interest_manifest_foreach_suffix
Ref: HICN-780 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I6025c3e87d4d8cb6a1e5e1f68e856214f8aa81ed
Diffstat (limited to 'hicn-plugin')
-rw-r--r--hicn-plugin/src/interest_pcslookup_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-plugin/src/interest_pcslookup_node.c b/hicn-plugin/src/interest_pcslookup_node.c
index 743227c18..4947b67ff 100644
--- a/hicn-plugin/src/interest_pcslookup_node.c
+++ b/hicn-plugin/src/interest_pcslookup_node.c
@@ -200,7 +200,7 @@ hicn_interest_manifest_pcslookup_node_inline (vlib_main_t *vm,
u32 next0 = HICN_INTEREST_PCSLOOKUP_NEXT_ERROR_DROP;
hicn_pcs_entry_t *pcs_entry = NULL;
interest_manifest_header_t *int_manifest_header = NULL;
- int pos = 0;
+ unsigned long pos = 0;
rt = vlib_node_get_runtime_data (vm, hicn_interest_pcslookup_node.index);