From fdc4b0b147b386e966e99893526181dfae9eaeef Mon Sep 17 00:00:00 2001 From: sfu5 Date: Wed, 20 Mar 2013 08:35:24 +0000 Subject: Making the IP6_CONFIG_DATA_RECORD the same size for both IA32 and X64 builds. Signed-off-by: Kinney, Michael D Reviewed-by: Ye Ting Reviewed-by: Fu Siyuan git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14216 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 4 ++-- NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'NetworkPkg/Ip6Dxe') diff --git a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c index b9840444bb..ddb8dcd379 100644 --- a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c +++ b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c @@ -1,7 +1,7 @@ /** @file The implementation of EFI IPv6 Configuration Protocol. - Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -473,7 +473,7 @@ Ip6ConfigWriteConfigData ( DataRecord = &Variable->DataRecord[Variable->DataRecordCount]; DataRecord->DataType = (EFI_IP6_CONFIG_DATA_TYPE) Index; - DataRecord->DataSize = DataItem->DataSize; + DataRecord->DataSize = (UINT32) DataItem->DataSize; DataRecord->Offset = (UINT16) (Heap - (CHAR8 *) Variable); Variable->DataRecordCount++; diff --git a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h index ccb09ccc77..581978bd5e 100644 --- a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h +++ b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h @@ -1,7 +1,7 @@ /** @file Definitions for EFI IPv6 Configuartion Protocol implementation. - Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -129,7 +129,7 @@ typedef struct { typedef struct { UINT16 Offset; - UINTN DataSize; + UINT32 DataSize; EFI_IP6_CONFIG_DATA_TYPE DataType; } IP6_CONFIG_DATA_RECORD; -- cgit v1.2.3