diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-09 09:30:52 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-09 09:30:52 +0000 |
commit | 67a58d0ffddc625bda615b9fb2b335e8d7ab979f (patch) | |
tree | 39af299d9d1b5fd25c7ed051336327736b2cd138 /MdeModulePkg/Universal/Network/Ip4ConfigDxe | |
parent | 0c6bbb63f98b5e62f60511cac1cc12c070888191 (diff) | |
download | edk2-platforms-67a58d0ffddc625bda615b9fb2b335e8d7ab979f.tar.xz |
Clean up Network Components to support GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4062 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/Ip4ConfigDxe')
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDriver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDriver.c b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDriver.c index fdd50b3535..081db47d49 100644 --- a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDriver.c +++ b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDriver.c @@ -225,8 +225,8 @@ Ip4ConfigDriverBindingStart ( Instance->Controller = ControllerHandle;
Instance->Image = This->DriverBindingHandle;
- Instance->Ip4ConfigProtocol = mIp4ConfigProtocolTemplate;
- Instance->NicIp4Protocol = mNicIp4ConfigProtocolTemplate;
+ CopyMem (&Instance->Ip4ConfigProtocol, &mIp4ConfigProtocolTemplate, sizeof (mIp4ConfigProtocolTemplate));
+ CopyMem (&Instance->NicIp4Protocol, &mNicIp4ConfigProtocolTemplate, sizeof (mNicIp4ConfigProtocolTemplate));
Instance->State = IP4_CONFIG_STATE_IDLE;
Instance->Mnp = Mnp;
|