]> git.proxmox.com Git - mirror_edk2.git/commitdiff
fix k8 warning.
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Sep 2009 06:21:07 +0000 (06:21 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Sep 2009 06:21:07 +0000 (06:21 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9260 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c

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