diff options
author | Damjan Marion <damarion@cisco.com> | 2024-04-24 11:21:05 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-04-24 14:33:34 +0000 |
commit | 804255c9f01c5a6a5d0b24db3923c814510f21bc (patch) | |
tree | fe135f73c51e8f71b1a8a499fcf2de55d2a5aed4 /src/vat | |
parent | 21c5ae36af25be125d156deed8492fc76a4b6616 (diff) |
misc: fix int/enum mismatch errors reported by gcc-14
Type: fix
Change-Id: I80e90cab8e2e9fef837779e36e0256baf791b801
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vat')
-rw-r--r-- | src/vat/ip_types.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vat/ip_types.c b/src/vat/ip_types.c index abcd2eaf648..248205287a4 100644 --- a/src/vat/ip_types.c +++ b/src/vat/ip_types.c @@ -205,9 +205,9 @@ ip_address_family_to_link_type (ip_address_family_t af) return (VNET_LINK_IP4); } - void -ip_address_set (ip_address_t * dst, const void *src, u8 version) +ip_address_set (ip_address_t *dst, const void *src, + ip_address_family_t version) { ip_addr_version (dst) = version; |