mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Fix GCC 8 build issues.
This fixes build warnings found by GCC 8. In some cases format truncation is intentional so the warning is just suppressed. ASTERISK-27824 #close Change-Id: I724f146cbddba8b86619d4c4a9931ee877995c84
This commit is contained in:
@@ -6581,7 +6581,7 @@ static void escape_and_substitute(struct ast_channel *chan, const char *input,
|
||||
static void setup_mixmonitor(struct queue_ent *qe, const char *filename)
|
||||
{
|
||||
char escaped_filename[256];
|
||||
char file_with_ext[256];
|
||||
char file_with_ext[sizeof(escaped_filename) + sizeof(qe->parent->monfmt)];
|
||||
char mixmonargs[1512];
|
||||
char escaped_monitor_exec[1024];
|
||||
const char *monitor_options;
|
||||
|
||||
Reference in New Issue
Block a user