Skip to content
Snippets Groups Projects
Commit 0f6ee98c authored by Joshua C. Colp's avatar Joshua C. Colp
Browse files

stasis: Use format specifier for size_t.

Change-Id: Ic9b4afcc5398e7f46314419fc3c90433d818e35c
parent 51f81118
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment