From: Kinsey Moore Date: Mon, 7 Jul 2014 01:10:55 +0000 (+0000) Subject: HTTP: Fix build for gcc 4.10 X-Git-Tag: 13.0.0-beta1~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c589571b7b403d14d5af685fe7f531651317fa6;p=thirdparty%2Fasterisk.git HTTP: Fix build for gcc 4.10 ........ Merged revisions 418066 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418067 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/http.c b/main/http.c index c465d5394c..40615169c4 100644 --- a/main/http.c +++ b/main/http.c @@ -1031,7 +1031,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; }