wnaspi32: Assign to struct instead of using memcpy.

oldstable
Andrew Talbot 2008-03-22 17:10:16 +00:00 committed by Alexandre Julliard
parent db8b2ca7b4
commit d0986ac5ad
1 changed files with 1 additions and 1 deletions

View File

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