diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c index 88b09997b8ab35c6c7c272c745538990e18d3526..47fc7568b66075ab5509f3adf23c1c3ba3041560 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);