Revision: 14216
          http://edk2.svn.sourceforge.net/edk2/?rev=14216&view=rev
Author:   sfu5
Date:     2013-03-20 08:35:24 +0000 (Wed, 20 Mar 2013)
Log Message:
-----------
Making the IP6_CONFIG_DATA_RECORD the same size for both IA32 and X64 builds.
Signed-off-by: Kinney, Michael D <[email protected]> 
Reviewed-by: Ye Ting <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>

Modified Paths:
--------------
    trunk/edk2/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
    trunk/edk2/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h

Modified: trunk/edk2/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
===================================================================
--- trunk/edk2/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c        2013-03-20 08:30:05 UTC 
(rev 14215)
+++ trunk/edk2/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c        2013-03-20 08:35:24 UTC 
(rev 14216)
@@ -1,7 +1,7 @@
 /** @file
   The implementation of EFI IPv6 Configuration Protocol.
 
-  Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
 
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD 
License
@@ -473,7 +473,7 @@
 
       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++;

Modified: trunk/edk2/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h
===================================================================
--- trunk/edk2/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h        2013-03-20 08:30:05 UTC 
(rev 14215)
+++ trunk/edk2/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h        2013-03-20 08:35:24 UTC 
(rev 14216)
@@ -1,7 +1,7 @@
 /** @file
   Definitions for EFI IPv6 Configuartion Protocol implementation.
 
-  Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
 
   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 {
   UINT16                    Offset;
-  UINTN                     DataSize;
+  UINT32                    DataSize;
   EFI_IP6_CONFIG_DATA_TYPE  DataType;
 } IP6_CONFIG_DATA_RECORD;
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to