diff options
Diffstat (limited to 'AppPkg/Applications/Sockets/TftpServer/TftpServer.c')
-rw-r--r-- | AppPkg/Applications/Sockets/TftpServer/TftpServer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AppPkg/Applications/Sockets/TftpServer/TftpServer.c b/AppPkg/Applications/Sockets/TftpServer/TftpServer.c index e9ab0dee5f..30d9dae41d 100644 --- a/AppPkg/Applications/Sockets/TftpServer/TftpServer.c +++ b/AppPkg/Applications/Sockets/TftpServer/TftpServer.c @@ -1781,9 +1781,9 @@ TftpRead ( //
// Determine the file length
//
- pContext->File = fopen ( pFileName, pReadMode );
+ pContext->File = fopen ((const char *)pFileName, pReadMode );
if (( NULL == pContext->File )
- || ( -1 == stat ( pFileName, &FileStatus ))) {
+ || ( -1 == stat ((const char *)pFileName, &FileStatus ))) {
//
// File not found
//
|