From: Kinsey Moore Date: Mon, 7 Jul 2014 01:00:46 +0000 (+0000) Subject: HTTP: Fix build for gcc 4.10 X-Git-Tag: 12.4.0-rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c09299c3fb7ba779c515d9f22507669edcf2dd8a;p=thirdparty%2Fasterisk.git HTTP: Fix build for gcc 4.10 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@418066 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/http.c b/main/http.c index 9ac8cec26a..7ca9b285f3 100644 --- a/main/http.c +++ b/main/http.c @@ -1036,7 +1036,7 @@ static int http_body_check_chunk_sync(struct ast_tcptls_session_instance *ser) } if (chunk_sync[0] != 0x0D || chunk_sync[1] != 0x0A) { ast_log(LOG_WARNING, "HTTP chunk sync bytes wrong (0x%02X, 0x%02X)\n", - chunk_sync[0], chunk_sync[1]); + (unsigned) chunk_sync[0], (unsigned) chunk_sync[1]); return -1; }