mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Constify format string in DisplayRealTimeString (fixes warnings).
This commit is contained in:
parent
50df362ef8
commit
c8fae11e7d
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
DisplayRealTimeString
|
||||
============
|
||||
*/
|
||||
void DisplayRealTimeString( char* string, ... )
|
||||
void DisplayRealTimeString( const char* string, ... )
|
||||
{
|
||||
va_list argPtr;
|
||||
char buf[MAX_STRING_CHARS];
|
||||
|
|
|
@ -46,7 +46,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
class idBrush;
|
||||
class idBrushList;
|
||||
|
||||
void DisplayRealTimeString( char* string, ... ) ID_STATIC_ATTRIBUTE_PRINTF( 1, 2 );
|
||||
void DisplayRealTimeString( const char* string, ... ) ID_STATIC_ATTRIBUTE_PRINTF( 1, 2 );
|
||||
|
||||
|
||||
//===============================================================
|
||||
|
|
Loading…
Reference in a new issue