[asterisk-commits] pjsip options: Fix format specifier for int64 t rtt. (asterisk[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 20 11:17:29 CDT 2015


Matt Jordan has submitted this change and it was merged.

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

Approvals:
  Matt Jordan: Looks good to me, approved; Verified
  Joshua Colp: Looks good to me, but someone else must approve



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/162
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4b8ab958fc1e9a179556a9b4ffa49673ba9fdec7
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-commits mailing list