Source: pion
Version: 5.0.7+dfsg-1
Severity: serious

Hi maintainer

Thanks for uploading the new version of pion!

The tests fail on architectures where char is unsigned by default with the following error:

http_message_tests.cpp:245:55: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
     char buf[] = {0, 1, 2, 3, 127, 0, -1, -2, -3, -128};
                                                       ^
http_message_tests.cpp:245:55: error: narrowing conversion of '-2' from 'int' to 'char' inside { } [-Wnarrowing] http_message_tests.cpp:245:55: error: narrowing conversion of '-3' from 'int' to 'char' inside { } [-Wnarrowing] http_message_tests.cpp:245:55: error: narrowing conversion of '-128' from 'int' to 'char' inside { } [-Wnarrowing]

Patch to follow.

Regards
Graham

Reply via email to