summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Joseph <george.joseph@fairview5.com>2015-04-20 08:53:00 -0600
committerGeorge Joseph <george.joseph@fairview5.com>2015-04-20 09:57:26 -0500
commit06ba1e59cbe2b62b6c1978d913b7a1fcc20d8d4d (patch)
tree2dfe81f84318627ecf963dc98fd176a0b683afdf
parentb94d70f42b4afbf129853dc211730f95bf2de8d7 (diff)
pjsip_options: Fix format specifier for int64_t rtt.
Contact status rtt is an int64_t and needs the PRId64 macro to properly create the format specifier on 32-bit systems. Change-Id: I4b8ab958fc1e9a179556a9b4ffa49673ba9fdec7
-rw-r--r--res/res_pjsip/pjsip_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip/pjsip_options.c b/res/res_pjsip/pjsip_options.c
index 9c0a1379d..2653b339b 100644
--- a/res/res_pjsip/pjsip_options.c
+++ b/res/res_pjsip/pjsip_options.c
@@ -137,7 +137,7 @@ static void update_contact_status(const struct ast_sip_contact *contact,
ast_test_suite_event_notify("AOR_CONTACT_QUALIFY_RESULT",
"Contact: %s\r\n"
"Status: %s\r\n"
- "RTT: %ld",
+ "RTT: %" PRId64,
ast_sorcery_object_get_id(update),
(update->status == AVAILABLE ? "Available" : "Unavailable"),
update->rtt);