diff options
author | Shi, Steven <steven.shi@intel.com> | 2016-08-03 17:43:05 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-08-10 12:56:37 +0800 |
commit | ba601bddf8a36b4b63704596842c69b412741bbb (patch) | |
tree | 416de628a29f8fa0c2ceaf7458c631dd1f69a567 /ShellPkg/Library/UefiShellTftpCommandLib | |
parent | 6f756db5ea057ff10dd168c7627163cec046a3d9 (diff) | |
download | edk2-platforms-ba601bddf8a36b4b63704596842c69b412741bbb.tar.xz |
ShellPkg-UefiShellTftpCommandLib: Replace compiler builtin
Use explicit CopyMem to replace compiler builtin to do the structure
values assignment. This change is needed to pass CLANG38 build.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Steven Shi <steven.shi@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellTftpCommandLib')
-rwxr-xr-x[-rw-r--r--] | ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c index 666ee9d8ea..5c50797631 100644..100755 --- a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c +++ b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c @@ -342,7 +342,7 @@ ShellCommandRunTftp ( goto Error;
}
- Mtftp4ConfigData = DefaultMtftp4ConfigData;
+ CopyMem (&Mtftp4ConfigData, &DefaultMtftp4ConfigData, sizeof (EFI_MTFTP4_CONFIG_DATA));
//
// Check the host IPv4 address
|