diff --git a/winsup/testsuite/ChangeLog b/winsup/testsuite/ChangeLog index d78aa61fd..d76601152 100644 --- a/winsup/testsuite/ChangeLog +++ b/winsup/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-01-01 Christopher Faylor + + * winsup.api/resethand.c (main): Coerce argument to pointer to stop gcc + complaint. + 2006-01-01 Christopher Faylor * winsup.api/resethand.c: Use SIGSEGV for the signal to test. diff --git a/winsup/testsuite/winsup.api/resethand.c b/winsup/testsuite/winsup.api/resethand.c index 776d9ac19..b2010cfe5 100644 --- a/winsup/testsuite/winsup.api/resethand.c +++ b/winsup/testsuite/winsup.api/resethand.c @@ -31,6 +31,6 @@ main (int argc, char **argv) *i = 9; exit (0x42); } - fprintf (stderr, "pid %d exited with status %p\n", pid, status); + fprintf (stderr, "pid %d exited with status %p\n", pid, (void *) status); exit (argc == 1 ? !(status == SIGSEGV) : !(status == SIGTERM)); }