diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/rdma/format.c | 5 | ||||
-rw-r--r-- | src/vppinfra/std-formats.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/rdma/format.c b/src/plugins/rdma/format.c index b477c115405..78187e9cf17 100644 --- a/src/plugins/rdma/format.c +++ b/src/plugins/rdma/format.c @@ -292,9 +292,8 @@ format_rdma_rxq (u8 * s, va_list * args) next_cqe_index); s = format (s, "\n%U%U", format_white_space, indent + 6, format_mlx5_cqe_rx, rxq->cqes + next_cqe_index); - s = format (s, "\n%U%U", format_white_space, indent + 6, - format_hexdump, rxq->cqes + next_cqe_index, - sizeof (mlx5dv_cqe_t)); + s = format (s, "\n%U%U", format_white_space, indent + 6, format_hexdump, + rxq->cqes + next_cqe_index, (u32) sizeof (mlx5dv_cqe_t)); } return s; diff --git a/src/vppinfra/std-formats.c b/src/vppinfra/std-formats.c index 7a51a531d31..cb2872ad24b 100644 --- a/src/vppinfra/std-formats.c +++ b/src/vppinfra/std-formats.c @@ -414,7 +414,7 @@ __clib_export u8 * format_hexdump (u8 * s, va_list * args) { u8 *data = va_arg (*args, u8 *); - uword len = va_arg (*args, uword); + u32 len = va_arg (*args, u32); int i, index = 0; const int line_len = 16; u8 *line_hex = 0; |