Control: tags -1 patch Patch attached. There may still be actual test failures.
Description: Fix FTBFS with GCC 6 Fix narrowing conversion on architectures where char is unsigned by default. Bug-Debian: https://bugs.debian.org/846573 Author: Graham Inggs <gin...@debian.org> Forwarded: no Last-Update: 2016-12-02 --- a/tests/http_message_tests.cpp +++ b/tests/http_message_tests.cpp @@ -242,7 +242,7 @@ } BOOST_AUTO_TEST_CASE_FIXTURE_TEMPLATE(checkGetContentReturnsWhatWasWrittenToBuffer) { - char buf[] = {0, 1, 2, 3, 127, 0, -1, -2, -3, -128}; + signed char buf[] = {0, 1, 2, 3, 127, 0, -1, -2, -3, -128}; BOOST_CHECK_EQUAL(sizeof(buf), static_cast<unsigned int>(F::m_len)); memcpy(F::m_content_buffer, buf, F::m_len); BOOST_CHECK(memcmp(buf, F::get_content(), F::m_len) == 0);