From: Richard Mudgett Date: Wed, 19 Aug 2015 17:10:12 +0000 (-0500) Subject: ari/ari_websockets.c: Fix ast_debug parameter type mismatch. X-Git-Tag: 14.0.0-beta1~734^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21d419e4fc9a06c999dee2b5466cc52efefe71cf;p=thirdparty%2Fasterisk.git 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 --- 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;