Compiler fixes for GCC with -Og

ASTERISK-29144

Change-Id: I2a72c072083b4492a223c6f9d73d21f4f424db62
This commit is contained in:
Alexander Traud
2020-10-29 14:35:26 +01:00
committed by Friendly Automation
parent 334661601a
commit 13b56c4be6
4 changed files with 4 additions and 4 deletions

View File

@@ -396,7 +396,7 @@ static int select_item_menu(struct ast_channel *chan, struct directory_item **it
{
struct directory_item **block, *item;
int i, limit, res = 0;
char buf[9];
char buf[7+12]; /* INT_MIN has a length of 12 chars */
/* option p(n): cellphone pause option */
select_item_pause(chan, flags, opts);