Shuffle parens to avoid type-punning warning.
This commit is contained in:
parent
c4e3e4f1b5
commit
02f563767b
@ -118,7 +118,7 @@ struct entry {
|
||||
struct kinfo_proc *dkp; /* debug option proc list */
|
||||
} *ep, *ehead = NULL, **nextp = &ehead;
|
||||
|
||||
#define debugproc(p) *((struct kinfo_proc **)&(p)->ki_udata)
|
||||
#define debugproc(p) *(&((struct kinfo_proc *)p)->ki_udata)
|
||||
|
||||
#define W_DISPUSERSIZE 10
|
||||
#define W_DISPLINESIZE 8
|
||||
|
Loading…
Reference in New Issue
Block a user