MFi386: revision 251039
Use slightly more idiomatic expression to get the address of array.
This commit is contained in:
parent
e27884bd80
commit
6a699f9f06
@ -2789,7 +2789,7 @@ get_fpcontext(struct thread *td, mcontext_t *mcp)
|
||||
bzero(mcp->mc_fpstate, sizeof(mcp->mc_fpstate));
|
||||
#else
|
||||
mcp->mc_ownedfp = npxgetregs(td);
|
||||
bcopy(&td->td_pcb->pcb_user_save, &mcp->mc_fpstate,
|
||||
bcopy(&td->td_pcb->pcb_user_save, &mcp->mc_fpstate[0],
|
||||
sizeof(mcp->mc_fpstate));
|
||||
mcp->mc_fpformat = npxformat();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user