]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Mon, 12 Jun 2023 17:20:31 +0000 (17:20 +0000)
Partially resolves #143.

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),