summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-20 12:19:06 +0000
committerqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-20 12:19:06 +0000
commitda7ff6981db54b2719bae3b7c41f3181fa820669 (patch)
tree8c63574e22f40655ec72b636bd458d96f75372cc /MdeModulePkg
parentb4f9bc4dc2acb5b417027014811b7c7acaee30cd (diff)
downloadedk2-platforms-da7ff6981db54b2719bae3b7c41f3181fa820669.tar.xz
Fix build issue in IPv4.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10964 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c2
-rw-r--r--MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Output.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c
index 2bb8cd943e..0946e1af88 100644
--- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c
+++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Input.c
@@ -570,7 +570,7 @@ Ip4IpSecProcessPacket (
IP_VERSION_4,
(VOID *) (*Head),
&(*Head)->Protocol,
- (VOID **)Options,
+ (VOID **) Options,
OptionsLen,
(EFI_IPSEC_FRAGMENT_DATA **) (&FragmentTable),
&FragmentCount,
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Output.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Output.c
index 93cc52eb57..85dffe0643 100644
--- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Output.c
+++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Output.c
@@ -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;