Fix test failure on PPC{64} where the char is unsigned by default
This commit is contained in:
parent
5e141dedce
commit
b1f45053bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue