stats: char-pointer arithmetic style-up 36/30236/3
authorVratko Polak <vrpolak@cisco.com>
Wed, 2 Dec 2020 17:45:16 +0000 (18:45 +0100)
committerOle Tr�an <otroan@employees.org>
Thu, 3 Dec 2020 13:41:28 +0000 (13:41 +0000)
commit18a71d8af56f4a70c9257608eb6e71b9cdc9f2ae
tree5f0e77759a5b96ada7e4b1442683731083f9d769
parentd417fe2616d7b10cd842187aa160516b35831fc7
stats: char-pointer arithmetic style-up

Char* typed shared_header value appears multiple times,
so store it is a variable.
Pointer "p" value is used more frequently casted to char*,
so use that type for it, and convert to void* only at return.

Type: style
Fixes: 41f15ae1dfd4ac1777b684fdc763d12496209418

Change-Id: I7b3f1e6a43c020acd7ae561f87d12237b07fcd66
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
src/vpp-api/client/stat_client.h