From 82603e7941e34e685b6d0ed99067847efed1c112 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Mon, 14 Sep 2009 06:21:07 +0000 Subject: fix k8 warning. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9260 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3