mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 08:34:07 +02:00
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:
parent
3af875e220
commit
82603e7941
@ -1008,7 +1008,7 @@ IScsiReceivePdu (
|
|||||||
// The first to receive the useful data. The second to receive the padding.
|
// The first to receive the useful data. The second to receive the padding.
|
||||||
//
|
//
|
||||||
Fragment[1].Len = PadLen + (DataDigest ? sizeof (UINT32) : 0);
|
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;
|
FragmentCount = 2;
|
||||||
} else {
|
} else {
|
||||||
FragmentCount = 1;
|
FragmentCount = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user