misc: fix int/enum mismatch errors reported by gcc-14
Type: fix Change-Id: I80e90cab8e2e9fef837779e36e0256baf791b801 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:

committed by
Dave Wallace

parent
21c5ae36af
commit
804255c9f0
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user