From: Joshua C. Colp Date: Sat, 15 Feb 2020 14:01:34 +0000 (-0400) Subject: stasis: Use format specifier for size_t. X-Git-Tag: 17.3.0-rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a0218a96072f1b3047c8be8960fd15449fef5c1;p=thirdparty%2Fasterisk.git stasis: Use format specifier for size_t. Change-Id: Ic9b4afcc5398e7f46314419fc3c90433d818e35c --- diff --git a/main/stasis.c b/main/stasis.c index 67ed9a60b0..e901cbd040 100644 --- a/main/stasis.c +++ b/main/stasis.c @@ -2439,8 +2439,8 @@ static char *stasis_show_topic(struct ast_cli_entry *e, int cmd, struct ast_cli_ ast_cli(a->fd, "Name: %s\n", topic->name); ast_cli(a->fd, "Detail: %s\n", topic->detail); - ast_cli(a->fd, "Subscribers count: %lu\n", AST_VECTOR_SIZE(&topic->subscribers)); - ast_cli(a->fd, "Forwarding topic count: %lu\n", AST_VECTOR_SIZE(&topic->upstream_topics)); + ast_cli(a->fd, "Subscribers count: %zu\n", AST_VECTOR_SIZE(&topic->subscribers)); + ast_cli(a->fd, "Forwarding topic count: %zu\n", AST_VECTOR_SIZE(&topic->upstream_topics)); ast_format_duration_hh_mm_ss(ast_tvnow().tv_sec - topic->creationtime->tv_sec, print_time, sizeof(print_time)); ast_cli(a->fd, "Duration time: %s\n", print_time);