mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* winsup.api/resethand.c (main): Coerce argument to pointer to stop gcc
complaint.
This commit is contained in:
parent
3bfd1c5e8c
commit
590129475b
@ -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.
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user