]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
pjsip_transport_events.c: Use %zu printf specifier for size_t.
authorSean Bright <sean@seanbright.com>
Mon, 5 Jun 2023 14:50:13 +0000 (10:50 -0400)
committerAsterisk Development Team <asteriskteam@digium.com>
Mon, 10 Jul 2023 11:49:48 +0000 (11:49 +0000)
Partially resolves #143.

(cherry picked from commit b7eae29fb93c53ee8cc6d00a046c835aa12137d1)

res/res_pjsip/pjsip_transport_events.c

index 130e26c2a7aee5f848ffce62ee03c201b035986c..c6c5d21af341786309e00efafbbcc8564dfd2413 100644 (file)
@@ -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),