summaryrefslogtreecommitdiffstats
path: root/lib/librte_bitratestats/rte_bitrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_bitratestats/rte_bitrate.c')
-rw-r--r--lib/librte_bitratestats/rte_bitrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_bitratestats/rte_bitrate.c b/lib/librte_bitratestats/rte_bitrate.c
index 3ceb3516..f373697a 100644
--- a/lib/librte_bitratestats/rte_bitrate.c
+++ b/lib/librte_bitratestats/rte_bitrate.c
@@ -84,7 +84,7 @@ rte_stats_bitrate_reg(struct rte_stats_bitrates *bitrate_data)
int
rte_stats_bitrate_calc(struct rte_stats_bitrates *bitrate_data,
- uint8_t port_id)
+ uint16_t port_id)
{
struct rte_stats_bitrate *port_data;
struct rte_eth_stats eth_stats;