diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-27 03:33:51 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-27 03:33:51 +0000 |
commit | 84b5c78e89686879f799a4cd095eeef83ff7cf34 (patch) | |
tree | 3cc8d6eed389d20c3ef707958cd22216b71ebd82 /MdeModulePkg/Universal/Network/Mtftp4Dxe | |
parent | f490a61d79cdbb3325f2f273e588eae54168fc42 (diff) | |
download | edk2-84b5c78e89686879f799a4cd095eeef83ff7cf34.zip edk2-84b5c78e89686879f799a4cd095eeef83ff7cf34.tar.gz edk2-84b5c78e89686879f799a4cd095eeef83ff7cf34.tar.bz2 |
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/Mtftp4Dxe')
-rw-r--r-- | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c index 2d3c4f5..ca6d83f 100644 --- a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c +++ b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c @@ -59,7 +59,7 @@ EfiMtftp4GetModeData ( OldTpl = NET_RAISE_TPL (NET_TPL_LOCK);
Instance = MTFTP4_PROTOCOL_FROM_THIS (This);
- ModeData->ConfigData = Instance->Config;
+ CopyMem(&ModeData->ConfigData, &Instance->Config, sizeof (Instance->Config));
ModeData->SupportedOptionCount = MTFTP4_SUPPORTED_OPTIONS;
ModeData->SupportedOptoins = mMtftp4SupportedOptions;
ModeData->UnsupportedOptionCount = 0;
@@ -228,7 +228,7 @@ EfiMtftp4Configure ( return EFI_ACCESS_DENIED;
}
- Instance->Config = *ConfigData;
+ CopyMem(&Instance->Config, ConfigData, sizeof (*ConfigData));;
Instance->State = MTFTP4_STATE_CONFIGED;
NET_RESTORE_TPL (OldTpl);
|