From c4efd0f4235d1151a95add06ad5ccb42c7dcff21 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Wed, 8 Apr 2020 08:57:15 +0300 Subject: *: Do not cast to the same type Signed-off-by: Donatas Abraitis --- zebra/zebra_fpm_protobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/zebra_fpm_protobuf.c') diff --git a/zebra/zebra_fpm_protobuf.c b/zebra/zebra_fpm_protobuf.c index ade4b636d6..4b31cc0281 100644 --- a/zebra/zebra_fpm_protobuf.c +++ b/zebra/zebra_fpm_protobuf.c @@ -294,7 +294,7 @@ int zfpm_protobuf_encode_route(rib_dest_t *dest, struct route_entry *re, return 0; } - len = fpm__message__pack(msg, (uint8_t *)in_buf); + len = fpm__message__pack(msg, in_buf); assert(len <= in_buf_len); QPB_RESET_STACK_ALLOCATOR(allocator); -- cgit v1.2.3