From: Moises Silva Date: Wed, 5 Mar 2014 16:26:38 +0000 (+0000) Subject: Fix res/res_http_websocket.c build failure in 32bit due to incorrect print format... X-Git-Tag: 13.0.0-beta1~485 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcb0f94604153879507e351475400076d3901d9a;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/trunk@409832 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c index 88b09997b8..47fc7568b6 100644 --- a/res/res_http_websocket.c +++ b/res/res_http_websocket.c @@ -481,7 +481,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);