summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2016-05-20 14:20:56 +0800
committerFu Siyuan <siyuan.fu@intel.com>2016-05-20 14:43:09 +0800
commit6987d7aa8396a89fc50603d78cb03d4aa01c78d9 (patch)
treeddd53813b2123f74b42a67be3f31e31bb5102f66 /ShellPkg
parentf86a5c346578a9503f7383c6eb77ce256f33b605 (diff)
downloadedk2-platforms-6987d7aa8396a89fc50603d78cb03d4aa01c78d9.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>
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c4
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;