diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-14 06:21:07 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-14 06:21:07 +0000 |
commit | 82603e7941e34e685b6d0ed99067847efed1c112 (patch) | |
tree | 697cb5b2d6d5a3992aa8c718d8e58f07243cfe35 /MdeModulePkg | |
parent | 3af875e2209cc43c8d14a75061eebde7bd91b198 (diff) | |
download | edk2-platforms-82603e7941e34e685b6d0ed99067847efed1c112.tar.xz |
fix k8 warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9260 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c index 4a703a9afb..a370e29a5c 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c @@ -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;
|