From 7bbd5df8c0cd387453cea03dd1078249b6e12e9b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 4 Apr 2016 22:42:06 -0400 Subject: [PATCH] Fixed a string-literal-to-char* conversion warning. --- Sources/SeriousSam/Menu.cpp | 2 +- Sources/SeriousSam/Menu.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index f82c46b..3977b82 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -736,7 +736,7 @@ void StartCurrentQuickLoadMenu() } } -void StartMenus(char *str) +void StartMenus(const char *str) { _tmMenuLastTickDone=_pTimer->GetRealTimeTick(); // disable printing of last lines diff --git a/Sources/SeriousSam/Menu.h b/Sources/SeriousSam/Menu.h index 0091361..e22d4ce 100644 --- a/Sources/SeriousSam/Menu.h +++ b/Sources/SeriousSam/Menu.h @@ -12,7 +12,7 @@ void MenuOnChar(MSG msg); void MenuOnMouseMove(PIX pixI, PIX pixJ); void MenuOnLMBDown(void); 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); BOOL IsMenusInRoot(void); void ChangeToMenu( class CGameMenu *pgmNew);