Fix -Wwrite-strings warnings

deprecated conversion from string constant to ‘char*’

Constify lots of "char *".
This commit is contained in:
dhewg 2011-11-30 22:15:10 +01:00 committed by Daniel Gibson
parent d83cf21bde
commit 64df913412
20 changed files with 51 additions and 51 deletions

View file

@ -93,8 +93,8 @@ public:
int CurrentLine( void ) const;
const char *CurrentFile( void ) const;
void Error( char *fmt, ... ) const id_attribute((format(printf,2,3)));
void Warning( char *fmt, ... ) const id_attribute((format(printf,2,3)));
void Error( const char *fmt, ... ) const id_attribute((format(printf,2,3)));
void Warning( const char *fmt, ... ) const id_attribute((format(printf,2,3)));
void DisplayInfo( void ) const;
bool BeginMultiFrameEvent( idEntity *ent, const idEventDef *event );