diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-29 09:17:56 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-29 10:24:16 +0300 |
| commit | 02d8b80ce4cc4a741ac796df453668b43b3e5d0f (patch) | |
| tree | d239cb951d40fb8da5e1402863719660d5b55be6 /sharpd | |
| parent | c323b930eaeb779a973e95b1202223164a5e2b02 (diff) | |
*: Do not cast to the same type as the destination is
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'sharpd')
| -rw-r--r-- | sharpd/sharp_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c index e891c1b6be..cf79bacc6b 100644 --- a/sharpd/sharp_vty.c +++ b/sharpd/sharp_vty.c @@ -948,7 +948,7 @@ DEFPY (import_te, static void sharp_srv6_locator_chunk_free(struct prefix_ipv6 *chunk) { - prefix_ipv6_free((struct prefix_ipv6 **)&chunk); + prefix_ipv6_free(&chunk); } DEFPY (sharp_srv6_manager_get_locator_chunk, |
