diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-29 08:17:56 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-29 09:24:16 +0200 |
commit | 02d8b80ce4cc4a741ac796df453668b43b3e5d0f (patch) | |
tree | d239cb951d40fb8da5e1402863719660d5b55be6 /lib/darr.c | |
parent | zebra: Drop new lines from zlog_debug for dpdk debug messages (diff) | |
download | frr-02d8b80ce4cc4a741ac796df453668b43b3e5d0f.tar.xz frr-02d8b80ce4cc4a741ac796df453668b43b3e5d0f.zip |
*: Do not cast to the same type as the destination is
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/darr.c')
-rw-r--r-- | lib/darr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/darr.c b/lib/darr.c index 2c8b7b877..f0ef5c90b 100644 --- a/lib/darr.c +++ b/lib/darr.c @@ -109,6 +109,6 @@ void *__darr_insert_n(void *a, uint at, uint count, size_t esize, bool zero) memset(_a_at(at), 0, esize * count); } - return (void *)a; + return a; #undef _a_at } |