HTTP: Fix build for gcc 4.10
authorKinsey Moore <kmoore@digium.com>
Mon, 7 Jul 2014 01:10:55 +0000 (01:10 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 7 Jul 2014 01:10:55 +0000 (01:10 +0000)
........

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

main/http.c

index c465d53..4061516 100644 (file)
@@ -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;
        }