From 06ba1e59cbe2b62b6c1978d913b7a1fcc20d8d4d Mon Sep 17 00:00:00 2001
From: George Joseph <george.joseph@fairview5.com>
Date: Mon, 20 Apr 2015 08:53:00 -0600
Subject: [PATCH] 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
---
 res/res_pjsip/pjsip_options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/res/res_pjsip/pjsip_options.c b/res/res_pjsip/pjsip_options.c
index 9c0a1379d0..2653b339bb 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);
-- 
GitLab