]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Sockets/TftpServer/TftpServer.c
Fix some errors detected by the GCC 4.4 compiler.
[mirror_edk2.git] / AppPkg / Applications / Sockets / TftpServer / TftpServer.c
index e9ab0dee5f059537d37dc1257a27273ed66a9dbb..30d9dae41da5cf17e20fb4a2dd09c5ebc74d952e 100644 (file)
@@ -1781,9 +1781,9 @@ TftpRead (
     //\r
     //  Determine the file length\r
     //\r
-    pContext->File = fopen ( pFileName, pReadMode );\r
+    pContext->File = fopen ((const char *)pFileName, pReadMode );\r
     if (( NULL == pContext->File )\r
-        || ( -1 == stat ( pFileName, &FileStatus ))) {\r
+        || ( -1 == stat ((const char *)pFileName, &FileStatus ))) {\r
       //\r
       //  File not found\r
       //\r