* winsup.api/resethand.c (main): Coerce argument to pointer to stop gcc

complaint.
This commit is contained in:
Christopher Faylor 2006-01-02 03:45:32 +00:00
parent 3bfd1c5e8c
commit 590129475b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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));
}