mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
build: A few gcc 7 error fixes
Change-Id: I7b5300fbf1af7d88d47129db13ad6dbdc9b553ec
This commit is contained in:
@@ -2040,7 +2040,7 @@ static void *do_idle_thread(void *v_pvt)
|
||||
struct sig_pri_chan *pvt = v_pvt;
|
||||
struct ast_channel *chan = pvt->owner;
|
||||
struct ast_frame *f;
|
||||
char ex[80];
|
||||
char ex[128];
|
||||
/* Wait up to 30 seconds for an answer */
|
||||
int timeout_ms = 30000;
|
||||
int ms;
|
||||
@@ -2281,7 +2281,7 @@ static void sig_pri_party_name_convert(struct ast_party_name *ast_name, const st
|
||||
*/
|
||||
static void sig_pri_party_number_convert(struct ast_party_number *ast_number, const struct pri_party_number *pri_number, struct sig_pri_span *pri)
|
||||
{
|
||||
char number[AST_MAX_EXTENSION];
|
||||
char number[AST_MAX_EXTENSION * 2];
|
||||
|
||||
apply_plan_to_existing_number(number, sizeof(number), pri, pri_number->str,
|
||||
pri_number->plan);
|
||||
@@ -6245,7 +6245,7 @@ static void *pri_dchannel(void *vpri)
|
||||
struct timeval lastidle = { 0, 0 };
|
||||
pthread_t p;
|
||||
struct ast_channel *idle;
|
||||
char idlen[80];
|
||||
char idlen[128];
|
||||
int nextidle = -1;
|
||||
int haveidles;
|
||||
int activeidles;
|
||||
@@ -6651,7 +6651,7 @@ static void *pri_dchannel(void *vpri)
|
||||
e->service_ack.changestatus, PRI_SPAN(e->service_ack.channel), PRI_CHANNEL(e->service_ack.channel), pri->span);
|
||||
} else {
|
||||
char db_chan_name[20];
|
||||
char db_answer[5];
|
||||
char db_answer[15];
|
||||
int ch;
|
||||
unsigned *why;
|
||||
|
||||
|
Reference in New Issue
Block a user