fix k8 warning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9260 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian 2009-09-14 06:21:07 +00:00
parent 3af875e220
commit 82603e7941
1 changed files with 1 additions and 1 deletions

View File

@ -1008,7 +1008,7 @@ IScsiReceivePdu (
// The first to receive the useful data. The second to receive the padding.
//
Fragment[1].Len = PadLen + (DataDigest ? sizeof (UINT32) : 0);
Fragment[1].Bulk = (UINT8 *)((UINTN) &PadAndCRC32[0] + (4 - PadLen));
Fragment[1].Bulk = (UINT8 *)PadAndCRC32 + (4 - PadLen);
FragmentCount = 2;
} else {
FragmentCount = 1;