From: Sean Bright Date: Mon, 5 Jun 2023 14:50:13 +0000 (-0400) Subject: pjsip_transport_events.c: Use %zu printf specifier for size_t. X-Git-Tag: 21.0.0-pre1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=642b84c9c911d8794385f4f6b117589cdfe298ec;p=thirdparty%2Fasterisk.git pjsip_transport_events.c: Use %zu printf specifier for size_t. Partially resolves #143. --- diff --git a/res/res_pjsip/pjsip_transport_events.c b/res/res_pjsip/pjsip_transport_events.c index 130e26c2a7..c6c5d21af3 100644 --- a/res/res_pjsip/pjsip_transport_events.c +++ b/res/res_pjsip/pjsip_transport_events.c @@ -646,7 +646,7 @@ static char *cli_show_monitors(struct ast_cli_entry *e, int cmd, struct ast_cli_ state = "ACTIVE"; } - ast_cli(a->fd, " %-46.46s %-10s %-9s %6ld %8" PRIu64 " %s\n", + ast_cli(a->fd, " %-46.46s %-10s %-9s %6ld %8zu %s\n", monitored->key, state, monitored->transport->dir == PJSIP_TP_DIR_OUTGOING ? "Outgoing" : "Incoming", pj_atomic_get(monitored->transport->ref_cnt),