diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2016-05-20 14:20:56 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-13 20:43:35 +0800 |
commit | fca6c0bd0b1102006f8d177be1459c8b2fecf963 (patch) | |
tree | 4c9718494d6013f1682d7dd77f62132a0b212f28 /ShellPkg | |
parent | 1efc09857e20a29ec3533d95e83981f5b207ca25 (diff) | |
download | edk2-platforms-fca6c0bd0b1102006f8d177be1459c8b2fecf963.tar.xz |
ShellPkg: Fix ARM build failure.
This patch fixes the ARM build failure introduced by
2be45bfe2779043bc3566e879e7ec279412012dc.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
(cherry picked from commit 6987d7aa8396a89fc50603d78cb03d4aa01c78d9)
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c index cb8cb9fb16..6561270df5 100644 --- a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c +++ b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c @@ -935,8 +935,8 @@ DownloadFile ( Mtftp4Token.CheckPacket = CheckPacket;
Mtftp4Token.Context = (VOID*)TftpContext;
if (BlockSize != MTFTP_DEFAULT_BLKSIZE) {
- ReqOpt.OptionStr = "blksize";
- AsciiSPrint (OptBuf, sizeof (OptBuf), "%d", BlockSize);
+ ReqOpt.OptionStr = (UINT8 *) "blksize";
+ AsciiSPrint ((CHAR8 *)OptBuf, sizeof (OptBuf), "%d", BlockSize);
ReqOpt.ValueStr = OptBuf;
Mtftp4Token.OptionCount = 1;
|