Skip to content

Commit ff60aae

Browse files
seanbrightasteriskteam
authored andcommitted
pjsip_transport_events.c: Use %zu printf specifier for size_t.
Partially resolves #143. (cherry picked from commit b7eae29)
1 parent 99622c3 commit ff60aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

res/res_pjsip/pjsip_transport_events.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ static char *cli_show_monitors(struct ast_cli_entry *e, int cmd, struct ast_cli_
646646
state = "ACTIVE";
647647
}
648648

649-
ast_cli(a->fd, " %-46.46s %-10s %-9s %6ld %8" PRIu64 " %s\n",
649+
ast_cli(a->fd, " %-46.46s %-10s %-9s %6ld %8zu %s\n",
650650
monitored->key, state,
651651
monitored->transport->dir == PJSIP_TP_DIR_OUTGOING ? "Outgoing" : "Incoming",
652652
pj_atomic_get(monitored->transport->ref_cnt),

0 commit comments

Comments
 (0)