ShellPkg: Fix ARM build failure.

This patch fixes the ARM build failure introduced by
2be45bfe27.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
This commit is contained in:
Fu Siyuan 2016-05-20 14:20:56 +08:00
parent f86a5c3465
commit 6987d7aa83
1 changed files with 2 additions and 2 deletions

View File

@ -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;