diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-08 08:57:15 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-08 17:15:06 +0300 | 
| commit | c4efd0f4235d1151a95add06ad5ccb42c7dcff21 (patch) | |
| tree | 9aaff71f3b3ae6c23457092f6c78a25deec6adb7 /ospfd/ospf_ext.c | |
| parent | c446af503e10e6b976500af81aa159512430d0d6 (diff) | |
*: Do not cast to the same type
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ospfd/ospf_ext.c')
| -rw-r--r-- | ospfd/ospf_ext.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_ext.c b/ospfd/ospf_ext.c index df64fca883..47883d5f39 100644 --- a/ospfd/ospf_ext.c +++ b/ospfd/ospf_ext.c @@ -1684,7 +1684,7 @@ static uint16_t show_vty_link_info(struct vty *vty, struct tlv_header *ext)  /* Extended Link TLVs */  static void ospf_ext_link_show_info(struct vty *vty, struct ospf_lsa *lsa)  { -	struct lsa_header *lsah = (struct lsa_header *)lsa->data; +	struct lsa_header *lsah = lsa->data;  	struct tlv_header *tlvh;  	uint16_t length = 0, sum = 0; @@ -1758,7 +1758,7 @@ static uint16_t show_vty_pref_info(struct vty *vty, struct tlv_header *ext)  /* Extended Prefix TLVs */  static void ospf_ext_pref_show_info(struct vty *vty, struct ospf_lsa *lsa)  { -	struct lsa_header *lsah = (struct lsa_header *)lsa->data; +	struct lsa_header *lsah = lsa->data;  	struct tlv_header *tlvh;  	uint16_t length = 0, sum = 0;  | 
