Fix type of sf_addr.
Pointed out by: bde
This commit is contained in:
parent
777b4568dd
commit
ec1d9fe8ff
@ -533,7 +533,7 @@ osendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
|
||||
else {
|
||||
/* Old FreeBSD-style arguments. */
|
||||
sf.sf_arg2 = code;
|
||||
sf.sf_addr = (register_t *)regs->tf_err;
|
||||
sf.sf_addr = regs->tf_err;
|
||||
sf.sf_ahu.sf_handler = catcher;
|
||||
}
|
||||
|
||||
@ -686,7 +686,7 @@ sendsig(catcher, sig, mask, code)
|
||||
else {
|
||||
/* Old FreeBSD-style arguments. */
|
||||
sf.sf_siginfo = code;
|
||||
sf.sf_addr = (register_t *)regs->tf_err;
|
||||
sf.sf_addr = regs->tf_err;
|
||||
sf.sf_ahu.sf_handler = catcher;
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ struct osigframe {
|
||||
/* Points to sf_siginfo.si_sc. */
|
||||
register_t sf_scp;
|
||||
|
||||
register_t *sf_addr;
|
||||
register_t sf_addr;
|
||||
|
||||
/*
|
||||
* The following arguments are not constrained by the
|
||||
@ -81,7 +81,7 @@ struct sigframe {
|
||||
register_t sf_signum;
|
||||
register_t sf_siginfo; /* code or pointer to sf_si */
|
||||
register_t sf_ucontext; /* points to sf_uc */
|
||||
register_t *sf_addr; /* undocumented 4th arg */
|
||||
register_t sf_addr; /* undocumented 4th arg */
|
||||
|
||||
union {
|
||||
__siginfohandler_t *sf_action;
|
||||
|
@ -533,7 +533,7 @@ osendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
|
||||
else {
|
||||
/* Old FreeBSD-style arguments. */
|
||||
sf.sf_arg2 = code;
|
||||
sf.sf_addr = (register_t *)regs->tf_err;
|
||||
sf.sf_addr = regs->tf_err;
|
||||
sf.sf_ahu.sf_handler = catcher;
|
||||
}
|
||||
|
||||
@ -686,7 +686,7 @@ sendsig(catcher, sig, mask, code)
|
||||
else {
|
||||
/* Old FreeBSD-style arguments. */
|
||||
sf.sf_siginfo = code;
|
||||
sf.sf_addr = (register_t *)regs->tf_err;
|
||||
sf.sf_addr = regs->tf_err;
|
||||
sf.sf_ahu.sf_handler = catcher;
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ struct osigframe {
|
||||
/* Points to sf_siginfo.si_sc. */
|
||||
register_t sf_scp;
|
||||
|
||||
register_t *sf_addr;
|
||||
register_t sf_addr;
|
||||
|
||||
/*
|
||||
* The following arguments are not constrained by the
|
||||
@ -81,7 +81,7 @@ struct sigframe {
|
||||
register_t sf_signum;
|
||||
register_t sf_siginfo; /* code or pointer to sf_si */
|
||||
register_t sf_ucontext; /* points to sf_uc */
|
||||
register_t *sf_addr; /* undocumented 4th arg */
|
||||
register_t sf_addr; /* undocumented 4th arg */
|
||||
|
||||
union {
|
||||
__siginfohandler_t *sf_action;
|
||||
|
Loading…
Reference in New Issue
Block a user