Merge pull request #580 from ismail/ppc-fix

Fix test failure on PPC{64} where the char is unsigned by default
This commit is contained in:
William S Fulton 2016-01-09 11:04:15 +00:00
commit c6519f7c1a

View file

@ -31,7 +31,7 @@ namespace boost {
%inline %{
boost::array<int, 6> arrayOutVal() {
const char carray[] = { -2, -1, 0, 0, 1, 2 };
const signed char carray[] = { -2, -1, 0, 0, 1, 2 };
boost::array<int, 6> myarray;
for (size_t i=0; i<6; ++i) {
myarray[i] = carray[i];