Fixed a string-literal-to-char* conversion warning.

This commit is contained in:
Ryan C. Gordon 2016-04-04 22:42:06 -04:00
parent c752e7cace
commit 7bbd5df8c0
2 changed files with 2 additions and 2 deletions

View File

@ -736,7 +736,7 @@ void StartCurrentQuickLoadMenu()
} }
} }
void StartMenus(char *str) void StartMenus(const char *str)
{ {
_tmMenuLastTickDone=_pTimer->GetRealTimeTick(); _tmMenuLastTickDone=_pTimer->GetRealTimeTick();
// disable printing of last lines // disable printing of last lines

View File

@ -12,7 +12,7 @@ void MenuOnChar(MSG msg);
void MenuOnMouseMove(PIX pixI, PIX pixJ); void MenuOnMouseMove(PIX pixI, PIX pixJ);
void MenuOnLMBDown(void); void MenuOnLMBDown(void);
BOOL DoMenu( CDrawPort *pdp); // returns TRUE if still active, FALSE if should quit BOOL DoMenu( CDrawPort *pdp); // returns TRUE if still active, FALSE if should quit
void StartMenus( char *str=""); void StartMenus( const char *str="");
void StopMenus(BOOL bGoToRoot =TRUE); void StopMenus(BOOL bGoToRoot =TRUE);
BOOL IsMenusInRoot(void); BOOL IsMenusInRoot(void);
void ChangeToMenu( class CGameMenu *pgmNew); void ChangeToMenu( class CGameMenu *pgmNew);