From: Moises Silva Date: Wed, 5 Mar 2014 04:55:11 +0000 (+0000) Subject: Fix res/res_http_websocket.c build failure in 32bit due to incorrect print format... X-Git-Tag: 11.9.0-rc1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f1450e32ce10bb06c7be5775e162d7aa20701d2;p=thirdparty%2Fasterisk.git Fix res/res_http_websocket.c build failure in 32bit due to incorrect print format for uint64_t git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@409703 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c index 222e37e79e..18a490c8e6 100644 --- a/res/res_http_websocket.c +++ b/res/res_http_websocket.c @@ -433,7 +433,7 @@ int AST_OPTIONAL_API_NAME(ast_websocket_read)(struct ast_websocket *session, cha } if (!(new_payload = ast_realloc(session->payload, (session->payload_len + *payload_len)))) { - ast_log(LOG_WARNING, "Failed allocation: %p, %zd, %lu\n", + ast_log(LOG_WARNING, "Failed allocation: %p, %zd, %"PRIu64"\n", session->payload, session->payload_len, *payload_len); *payload_len = 0; ast_websocket_close(session, 1009);