mirror of https://github.com/acidanthera/audk.git
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:
parent
6f756db5ea
commit
ba601bddf8
|
@ -342,7 +342,7 @@ ShellCommandRunTftp (
|
||||||
goto Error;
|
goto Error;
|
||||||
}
|
}
|
||||||
|
|
||||||
Mtftp4ConfigData = DefaultMtftp4ConfigData;
|
CopyMem (&Mtftp4ConfigData, &DefaultMtftp4ConfigData, sizeof (EFI_MTFTP4_CONFIG_DATA));
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check the host IPv4 address
|
// Check the host IPv4 address
|
||||||
|
|
Loading…
Reference in New Issue