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/plugins/lisp | |
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/plugins/lisp')
-rw-r--r-- | src/plugins/lisp/lisp-cp/lisp_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lisp/lisp-cp/lisp_types.h b/src/plugins/lisp/lisp-cp/lisp_types.h index 21bd72178d7..e92f8f80c70 100644 --- a/src/plugins/lisp/lisp-cp/lisp_types.h +++ b/src/plugins/lisp/lisp-cp/lisp_types.h @@ -198,7 +198,8 @@ u8 gid_address_len (gid_address_t * a); void *gid_address_cast (gid_address_t * gid, gid_address_type_t type); void gid_address_copy (gid_address_t * dst, gid_address_t * src); u32 gid_address_parse (u8 * offset, gid_address_t * a); -void gid_address_ip_set (gid_address_t * dst, void *src, u8 version); +void gid_address_ip_set (gid_address_t *dst, void *src, + ip_address_family_t version); #define gid_address_type(_a) (_a)->type #define gid_address_ippref(_a) (_a)->ippref |