From 84b5c78e89686879f799a4cd095eeef83ff7cf34 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Mon, 27 Aug 2007 03:33:51 +0000 Subject: 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 --- MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 4 ++-- MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'MdeModulePkg/Library') diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c index 4b8a699aea..98df75df11 100644 --- a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c +++ b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c @@ -47,8 +47,8 @@ EFI_IP4_CONFIG_DATA mIpIoDefaultIpConfigData = { FALSE, FALSE, FALSE, - {0, 0, 0, 0}, - {0, 0, 0, 0}, + {{0, 0, 0, 0}}, + {{0, 0, 0, 0}}, 0, 255, FALSE, diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c index 9057a03a67..0dff772b7a 100644 --- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c +++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c @@ -77,7 +77,7 @@ IP4_ADDR mIp4AllMasks[IP4_MASK_NUM] = { 0xFFFFFFFF, }; -EFI_IPv4_ADDRESS mZeroIp4Addr = {0, 0, 0, 0}; +EFI_IPv4_ADDRESS mZeroIp4Addr = {{0, 0, 0, 0}}; /** Converts the low nibble of a byte to hex unicode character. -- cgit v1.2.3