From b1f45053bb7953fa6e0cb0492c0ffc796caf50fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Fri, 8 Jan 2016 12:00:03 +0200 Subject: [PATCH] Fix test failure on PPC{64} where the char is unsigned by default --- Examples/test-suite/li_boost_array.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/test-suite/li_boost_array.i b/Examples/test-suite/li_boost_array.i index ab40991a1..be51d15e0 100644 --- a/Examples/test-suite/li_boost_array.i +++ b/Examples/test-suite/li_boost_array.i @@ -31,7 +31,7 @@ namespace boost { %inline %{ boost::array arrayOutVal() { - const char carray[] = { -2, -1, 0, 0, 1, 2 }; + const signed char carray[] = { -2, -1, 0, 0, 1, 2 }; boost::array myarray; for (size_t i=0; i<6; ++i) { myarray[i] = carray[i];