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>
This commit is contained in:
Shi, Steven 2016-08-03 17:43:05 +08:00 committed by Liming Gao
parent 6f756db5ea
commit ba601bddf8
1 changed files with 1 additions and 1 deletions

2
ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c Normal file → Executable file
View File

@ -342,7 +342,7 @@ ShellCommandRunTftp (
goto Error;
}
Mtftp4ConfigData = DefaultMtftp4ConfigData;
CopyMem (&Mtftp4ConfigData, &DefaultMtftp4ConfigData, sizeof (EFI_MTFTP4_CONFIG_DATA));
//
// Check the host IPv4 address