diff options
Diffstat (limited to 'ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c')
-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;
|