Fix huge_struct for solaris

This commit is contained in:
Anthony Green
2009-12-26 07:46:50 -05:00
parent 07cc7a3719
commit 7e37eaaf77
3 changed files with 81 additions and 67 deletions

View File

@@ -1,8 +1,9 @@
2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
Anthony Green <green@redhat.com>
* testsuite/libffi.call/huge_struct.c (test_large_fn): Replace
format code %p with %#x because %p does not add a leading 0x on
Solaris. Also case relevant arguments to unsigned int.
format code %p with %#lx because %p does not add a leading 0x on
Solaris. Also change relevant arguments to unsigned long.
2009-12-26 Andreas Schwab <schwab@linux-m68k.org>