blackjack: Fix warning triggered by GCC 11
Change-Id: Ifcba0caf059bfa9f833893a1dbf0dc7a1c9b3e61
This commit is contained in:
parent
39939a164b
commit
03695429cf
1 changed files with 2 additions and 2 deletions
|
@ -1085,7 +1085,7 @@ static void blackjack_savegame(struct game_context* bj) {
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* blackjack_get_yes_no() gets a yes/no answer from the user
|
* blackjack_get_yes_no() gets a yes/no answer from the user
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
static unsigned int blackjack_get_yes_no(char message[20]) {
|
static unsigned int blackjack_get_yes_no(const char *message) {
|
||||||
int button;
|
int button;
|
||||||
unsigned int w, h, b, choice = 0;
|
unsigned int w, h, b, choice = 0;
|
||||||
bool breakout = false;
|
bool breakout = false;
|
||||||
|
@ -1146,7 +1146,7 @@ static unsigned int blackjack_get_yes_no(char message[20]) {
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* blackjack_get_amount() gets an amount from the player to be used
|
* blackjack_get_amount() gets an amount from the player to be used
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
static signed int blackjack_get_amount(const char message[20],
|
static signed int blackjack_get_amount(const char *message,
|
||||||
signed int lower_limit,
|
signed int lower_limit,
|
||||||
signed int upper_limit,
|
signed int upper_limit,
|
||||||
signed int start) {
|
signed int start) {
|
||||||
|
|
Loading…
Reference in a new issue