aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-01-02 03:45:32 +0000
committerChristopher Faylor <me@cgf.cx>2006-01-02 03:45:32 +0000
commit590129475beb69558896c8e0f278feaddb0174ef (patch)
treeb13312d7d32771ff9e4b5c1d34c9f17f4de79244
parent3bfd1c5e8c80af4bb863133ae76b802b71695ed5 (diff)
downloadnewlib-590129475beb69558896c8e0f278feaddb0174ef.zip
newlib-590129475beb69558896c8e0f278feaddb0174ef.tar.gz
newlib-590129475beb69558896c8e0f278feaddb0174ef.tar.bz2
* winsup.api/resethand.c (main): Coerce argument to pointer to stop gcc
complaint.
-rw-r--r--winsup/testsuite/ChangeLog5
-rw-r--r--winsup/testsuite/winsup.api/resethand.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/testsuite/ChangeLog b/winsup/testsuite/ChangeLog
index d78aa61..d766011 100644
--- a/winsup/testsuite/ChangeLog
+++ b/winsup/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2006-01-01 Christopher Faylor <cgf@timesys.com>
+ * winsup.api/resethand.c (main): Coerce argument to pointer to stop gcc
+ complaint.
+
+2006-01-01 Christopher Faylor <cgf@timesys.com>
+
* winsup.api/resethand.c: Use SIGSEGV for the signal to test.
2006-01-01 Christopher Faylor <cgf@timesys.com>
diff --git a/winsup/testsuite/winsup.api/resethand.c b/winsup/testsuite/winsup.api/resethand.c
index 776d9ac..b2010cf 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));
}