Shuffle parens to avoid type-punning warning.

This commit is contained in:
David Malone 2010-01-05 21:00:23 +00:00
parent c4e3e4f1b5
commit 02f563767b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201611

View File

@ -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