mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
build: GCC 5.1.x catches some new const, array bounds and missing paren issues
Fixed 1 issue in each of the affected files. ASTERISK-25494 #close Reported-by: George Joseph Tested-by: George Joseph Change-Id: I818f149cd66a93b062df421e1c73c7942f5a4a77
This commit is contained in:
@@ -4682,7 +4682,7 @@ static void sig_pri_handle_subcmds(struct sig_pri_span *pri, int chanpos, int ev
|
||||
f.frametype = AST_FRAME_TEXT;
|
||||
f.subclass.integer = 0;
|
||||
f.offset = 0;
|
||||
f.data.ptr = &subcmd->u.display.text;
|
||||
f.data.ptr = (void *)&subcmd->u.display.text;
|
||||
f.datalen = subcmd->u.display.length + 1;
|
||||
ast_queue_frame(owner, &f);
|
||||
ast_channel_unlock(owner);
|
||||
|
Reference in New Issue
Block a user