From 21d419e4fc9a06c999dee2b5466cc52efefe71cf Mon Sep 17 00:00:00 2001
From: Richard Mudgett <rmudgett@digium.com>
Date: Wed, 19 Aug 2015 12:10:12 -0500
Subject: [PATCH] ari/ari_websockets.c: Fix ast_debug parameter type mismatch.

This is a type mismatch fix of the debugging commit
c63316eec10e1990a88bf4712238d6deb375bfa9 made to find out why
a testsuite test was failing only on one of the continuous
integration build agents.

Change-Id: Iba34f6e87cec331f6ac80e4daff6476ea6f00a75
---
 res/ari/ari_websockets.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/res/ari/ari_websockets.c b/res/ari/ari_websockets.c
index 528e7f8b2e..ed024377da 100644
--- a/res/ari/ari_websockets.c
+++ b/res/ari/ari_websockets.c
@@ -174,7 +174,7 @@ int ast_ari_websocket_session_write(struct ast_ari_websocket_session *session,
 		return -1;
 	}
 
-	ast_debug(3, "Examining ARI event (length %zu): \n%s\n", strlen(str), str);
+	ast_debug(3, "Examining ARI event (length %u): \n%s\n", (unsigned int) strlen(str), str);
 	if (ast_websocket_write_string(session->ws_session, str)) {
 		ast_log(LOG_NOTICE, "Problem occurred during websocket write, websocket closed\n");
 		return -1;
-- 
GitLab