From 6987d7aa8396a89fc50603d78cb03d4aa01c78d9 Mon Sep 17 00:00:00 2001 From: Fu Siyuan Date: Fri, 20 May 2016 14:20:56 +0800 Subject: [PATCH] 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 Reviewed-by: Ard Biesheuvel --- ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c | 4 ++-- 1 file 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; -- 2.39.2