diff options
author | Haru <haru@dotalux.com> | 2016-10-01 00:16:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-01 00:16:21 +0200 |
commit | dd71362b10e5986e034ed86db08961926440ace0 (patch) | |
tree | 119c8d409657cee1d90cd0c072ef3b7e846fa3f0 /src/map/battleground.c | |
parent | 84ecefb4db23bbd98194a43a592cfe313477a1ab (diff) | |
parent | 2000a698da35915afb1a598433337a735d27ae24 (diff) | |
download | hercules-dd71362b10e5986e034ed86db08961926440ace0.tar.gz hercules-dd71362b10e5986e034ed86db08961926440ace0.tar.bz2 hercules-dd71362b10e5986e034ed86db08961926440ace0.tar.xz hercules-dd71362b10e5986e034ed86db08961926440ace0.zip |
Merge pull request #1450 from 4144/gcc7fixes
Add different fixes for gcc 7 warnings.
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r-- | src/map/battleground.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c index 5231ce3d2..7419a1928 100644 --- a/src/map/battleground.c +++ b/src/map/battleground.c @@ -862,11 +862,11 @@ enum BATTLEGROUNDS_QUEUE_ACK bg_canqueue(struct map_session_data *sd, struct bg_ count++; } if ( count < arena->min_team_players ) { - char response[117]; + char response[121]; if( count != sd->guild->connect_member && sd->guild->connect_member >= arena->min_team_players ) - sprintf(response, "Can't apply: not enough members in your team/guild that have not entered the queue in individual mode, minimum is %d",arena->min_team_players); + sprintf(response, "Can't apply: not enough members in your team/guild that have not entered the queue in individual mode, minimum is %d", arena->min_team_players); else - sprintf(response, "Can't apply: not enough members in your team/guild, minimum is %d",arena->min_team_players); + sprintf(response, "Can't apply: not enough members in your team/guild, minimum is %d", arena->min_team_players); clif->messagecolor_self(sd->fd, COLOR_RED, response); return BGQA_FAIL_TEAM_COUNT; } @@ -894,9 +894,9 @@ enum BATTLEGROUNDS_QUEUE_ACK bg_canqueue(struct map_session_data *sd, struct bg_ return BGQA_NOT_PARTY_GUILD_LEADER; if( count < arena->min_team_players ) { - char response[117]; + char response[121]; if( count != p->party.count && p->party.count >= arena->min_team_players ) - sprintf(response, "Can't apply: not enough members in your team/party that have not entered the queue in individual mode, minimum is %d",arena->min_team_players); + sprintf(response, "Can't apply: not enough members in your team/party that have not entered the queue in individual mode, minimum is %d", arena->min_team_players); else sprintf(response, "Can't apply: not enough members in your team/party, minimum is %d",arena->min_team_players); clif->messagecolor_self(sd->fd, COLOR_RED, response); |