[Asterisk-code-review] pjsip options: Fix format specifier for int64 t rtt. (asterisk[13])
George Joseph
asteriskteam at digium.com
Mon Apr 20 09:56:50 CDT 2015
George Joseph has uploaded a new change for review.
https://gerrit.asterisk.org/161
Change subject: pjsip_options: Fix format specifier for int64_t rtt.
......................................................................
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
---
M res/res_pjsip/pjsip_options.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/61/161/1
diff --git a/res/res_pjsip/pjsip_options.c b/res/res_pjsip/pjsip_options.c
index 9c0a137..2653b33 100644
--- a/res/res_pjsip/pjsip_options.c
+++ b/res/res_pjsip/pjsip_options.c
@@ -137,7 +137,7 @@
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);
--
To view, visit https://gerrit.asterisk.org/161
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b8ab958fc1e9a179556a9b4ffa49673ba9fdec7
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: George Joseph <george.joseph at fairview5.com>
More information about the asterisk-code-review
mailing list