[Asterisk-code-review] stasis: Use format specifier for size_t. (asterisk[master])
Joshua Colp
asteriskteam at digium.com
Sat Feb 15 08:03:58 CST 2020
Joshua Colp has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/13807 )
Change subject: stasis: Use format specifier for size_t.
......................................................................
stasis: Use format specifier for size_t.
Change-Id: Ic9b4afcc5398e7f46314419fc3c90433d818e35c
---
M main/stasis.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/07/13807/1
diff --git a/main/stasis.c b/main/stasis.c
index 67ed9a6..e901cbd 100644
--- a/main/stasis.c
+++ b/main/stasis.c
@@ -2439,8 +2439,8 @@
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);
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13807
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ic9b4afcc5398e7f46314419fc3c90433d818e35c
Gerrit-Change-Number: 13807
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200215/e6f046cc/attachment.html>
More information about the asterisk-code-review
mailing list