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:
@ -430,7 +430,7 @@ public:
|
|||||||
virtual bool EndOfFile( FileHandle_t file ) = 0;
|
virtual bool EndOfFile( FileHandle_t file ) = 0;
|
||||||
|
|
||||||
virtual char *ReadLine( char *pOutput, int maxChars, 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
|
// Dynamic library operations
|
||||||
|
@ -113,7 +113,7 @@ public:
|
|||||||
virtual bool IsOk( FileHandle_t file ) { return m_pFileSystemPassThru->IsOk( file ); }
|
virtual bool IsOk( FileHandle_t file ) { return m_pFileSystemPassThru->IsOk( file ); }
|
||||||
virtual bool EndOfFile( FileHandle_t file ) { return m_pFileSystemPassThru->EndOfFile( 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 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 _fmt[] = "%s";
|
||||||
char str[8192];
|
char str[8192];
|
||||||
|
Reference in New Issue
Block a user