1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Fix warnings when using IFileSystem::FPrintf

This commit is contained in:
Nicholas Hastings
2014-08-01 07:23:11 -07:00
parent ab2ee379fa
commit ce3b63f9d8
2 changed files with 2 additions and 2 deletions

View File

@ -430,7 +430,7 @@ public:
virtual bool EndOfFile( FileHandle_t file ) = 0;
virtual char *ReadLine( char *pOutput, int maxChars, FileHandle_t file ) = 0;
virtual int FPrintf( FileHandle_t file, char *pFormat, ... ) = 0;
virtual int FPrintf( FileHandle_t file, const char *pFormat, ... ) = 0;
//--------------------------------------------------------
// Dynamic library operations

View File

@ -113,7 +113,7 @@ public:
virtual bool IsOk( FileHandle_t file ) { return m_pFileSystemPassThru->IsOk( file ); }
virtual bool EndOfFile( FileHandle_t file ) { return m_pFileSystemPassThru->EndOfFile( file ); }
virtual char *ReadLine( char *pOutput, int maxChars, FileHandle_t file ) { return m_pFileSystemPassThru->ReadLine( pOutput, maxChars, file ); }
virtual int FPrintf( FileHandle_t file, char *pFormat, ... )
virtual int FPrintf( FileHandle_t file, const char *pFormat, ... )
{
char _fmt[] = "%s";
char str[8192];