diff options
author | George Joseph <george.joseph@fairview5.com> | 2015-04-20 08:53:00 -0600 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2015-04-20 08:53:00 -0600 |
commit | b74b2cdcda5b5c2228e55142ec33d3c16790e233 (patch) | |
tree | 6b95062b77414fc0b59f82f2379c3fbb2dab4f18 /res | |
parent | 27a122af666e6d3f122d874a75f852cdd4f33903 (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
Diffstat (limited to 'res')
-rw-r--r-- | res/res_pjsip/pjsip_options.c | 2 |
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); |