Commit d0986ac5 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

wnaspi32: Assign to struct instead of using memcpy.

parent db8b2ca7
......@@ -541,7 +541,7 @@ DWORD __cdecl SendASPI32Command(LPSRB lpSRB)
memset(&tmpsrb,0,sizeof(tmpsrb));
/* Copy header */
memcpy(&tmpsrb.common,&(lpSRB->common),sizeof(tmpsrb.common));
tmpsrb.common = lpSRB->common;
tmpsrb.cmd.SRB_Flags |= 8; /* target to host */
tmpsrb.cmd.SRB_Cmd = SC_EXEC_SCSI_CMD;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment