summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-27 03:33:51 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-27 03:33:51 +0000
commit84b5c78e89686879f799a4cd095eeef83ff7cf34 (patch)
tree3cc8d6eed389d20c3ef707958cd22216b71ebd82 /MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c
parentf490a61d79cdbb3325f2f273e588eae54168fc42 (diff)
downloadedk2-platforms-84b5c78e89686879f799a4cd095eeef83ff7cf34.tar.xz
Make MdeModulePkg GCC clean.
It also pass ICC+IPF and MYTOOLS+EBC build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3711 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c')
-rw-r--r--MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c b/MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c
index d0eb98cfb7..3e04c0d77e 100644
--- a/MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c
+++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c
@@ -26,8 +26,8 @@ STATIC EFI_PXE_BASE_CODE_UDP_PORT DhcpServerPort = DHCP_SERVER_PORT;
STATIC EFI_PXE_BASE_CODE_UDP_PORT DHCPClientPort = DHCP_CLIENT_PORT;
STATIC EFI_PXE_BASE_CODE_UDP_PORT PseudoDhcpServerPort = PXE_DISCOVERY_PORT;
#define PSEUDO_DHCP_CLIENT_PORT PseudoDhcpServerPort
-STATIC EFI_IP_ADDRESS BroadcastIP = { 0xffffffff };
-STATIC EFI_IP_ADDRESS DefaultSubnetMask = { 0xffffff00 };
+STATIC EFI_IP_ADDRESS BroadcastIP = {{0xffffffff}};
+STATIC EFI_IP_ADDRESS DefaultSubnetMask = {{0xffffff00}};
typedef union {
DHCPV4_OP_STRUCT *OpPtr;
@@ -1470,7 +1470,7 @@ Release (
CopyMem (
&DHCPRELEASEoptions.DhcServerIpPtr,
- &(DHCPV4_OP_SERVER_IP *) DHCPV4_ACK_BUFFER.OpAdds.PktOptAdds[OP_DHCP_SERVER_IP_IX - 1],
+ (DHCPV4_OP_SERVER_IP *) DHCPV4_ACK_BUFFER.OpAdds.PktOptAdds[OP_DHCP_SERVER_IP_IX - 1],
sizeof DHCPRELEASEoptions.DhcServerIpPtr
);