Fix build issue in IPv4.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10964 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qianouyang 2010-10-20 12:19:06 +00:00
parent b4f9bc4dc2
commit da7ff6981d
2 changed files with 2 additions and 2 deletions

View File

@ -570,7 +570,7 @@ Ip4IpSecProcessPacket (
IP_VERSION_4,
(VOID *) (*Head),
&(*Head)->Protocol,
(VOID **)Options,
(VOID **) Options,
OptionsLen,
(EFI_IPSEC_FRAGMENT_DATA **) (&FragmentTable),
&FragmentCount,

View File

@ -254,7 +254,7 @@ Ip4Output (
// Before IPsec process, prepared the IP head.
//
HeadLen = sizeof (IP4_HEAD) + ((OptLen + 3) & (~0x03));
Head->HeadLen = (UINT8) HeadLen >> 2;
Head->HeadLen = (UINT8) (HeadLen >> 2);
Head->Id = mIp4Id++;
Head->Ver = 4;