summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/client/stat_client.h
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-12-04 14:31:15 +0000
committerOle Trøan <otroan@employees.org>2018-12-06 21:30:53 +0000
commit90a9fdfd3e7a3150aa30ef3ccf7aa3cc54301383 (patch)
treebda9a62567bdce0ea830187bced7b41c3f8f7d4a /src/vpp-api/client/stat_client.h
parent68ebc83e60f91104667b5ee4b4ab13d9716ee860 (diff)
stat_client: Fix the type casting
Change-Id: I9726ac5cc7292a492928b213bc85ccfa8a26c1cb Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp-api/client/stat_client.h')
-rw-r--r--src/vpp-api/client/stat_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vpp-api/client/stat_client.h b/src/vpp-api/client/stat_client.h
index 52aaa244678..89f6fe53ea4 100644
--- a/src/vpp-api/client/stat_client.h
+++ b/src/vpp-api/client/stat_client.h
@@ -54,7 +54,8 @@ int stat_segment_connect_r (const char *socket_name, stat_client_main_t * sm);
int stat_segment_connect (const char *socket_name);
void stat_segment_disconnect_r (stat_client_main_t * sm);
void stat_segment_disconnect (void);
-uint8_t **stat_segment_string_vector (uint8_t ** string_vector, char *string);
+uint8_t **stat_segment_string_vector (uint8_t ** string_vector,
+ const char *string);
int stat_segment_vec_len (void *vec);
void stat_segment_vec_free (void *vec);
uint32_t *stat_segment_ls_r (uint8_t ** patterns, stat_client_main_t * sm);