Fix some errors detected by the GCC 4.4 compiler.
Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13007 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
Reference in New Issue
Block a user