]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
HTTP: Fix build for gcc 4.10
authorKinsey Moore <kmoore@digium.com>
Mon, 7 Jul 2014 01:00:46 +0000 (01:00 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 7 Jul 2014 01:00:46 +0000 (01:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@418066 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/http.c

index 9ac8cec26ae66dd2149eec3f074f9ff60f45963b..7ca9b285f30df94f4bc618c9f55ddf8cadc53c17 100644 (file)
@@ -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;
        }