From 804255c9f01c5a6a5d0b24db3923c814510f21bc Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 24 Apr 2024 11:21:05 +0000 Subject: misc: fix int/enum mismatch errors reported by gcc-14 Type: fix Change-Id: I80e90cab8e2e9fef837779e36e0256baf791b801 Signed-off-by: Damjan Marion --- src/vat/ip_types.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vat') 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; -- cgit 1.2.3-korg