]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
stasis: Use format specifier for size_t.
authorJoshua C. Colp <jcolp@sangoma.com>
Sat, 15 Feb 2020 14:01:34 +0000 (10:01 -0400)
committerJoshua Colp <jcolp@sangoma.com>
Sat, 15 Feb 2020 14:04:21 +0000 (08:04 -0600)
Change-Id: Ic9b4afcc5398e7f46314419fc3c90433d818e35c

main/stasis.c

index 67ed9a60b075173b6b75781c9bd1d139db8c5f81..e901cbd040c1bf6e47204fdb2ff459adc73c2bb3 100644 (file)
@@ -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);