int comfort_noise_level;
int auto_recording;
int record_count;
- int min_recording_participants;
+ uint32_t min_recording_participants;
int video_running;
int ivr_dtmf_timeout;
int ivr_input_timeout;
if (file_sample_len <= 0) {
member->fnode->done++;
} else { /* there is file node data to mix into the frame */
- int32_t i, sample;
+ uint32_t i;
+ int32_t sample;
/* Check for output volume adjustments */
if (member->volume_out_level) {
switch_core_file_close(&fnode->fh);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Position Data.\n");
fnode->al = NULL;
- channels = conference->channels;
+ channels = (uint8_t)conference->channels;
bad_params = 1;
goto retry;
}
} else if (!strcasecmp(var, "tls-ciphers") && !zstr(val)) {
profile->tls_ciphers = switch_core_strdup(profile->pool, val);
} else if (!strcasecmp(var, "tls-version") && !zstr(val)) {
- char *ps = val, *pe;
+ char *ps = val, *pe = val;
profile->tls_version = 0;
- while (1) {
+ while (ps && *pe) {
int n;
pe = strchr(ps,',');
if (!pe && !(pe = memchr(ps,0,1024))) break;
- n = pe-ps;
+ n = (int)(pe-ps);
if (n==5 && !strncasecmp(ps, "sslv2", n))
profile->tls_version |= SOFIA_TLS_VERSION_SSLv2;
if (n==5 && !strncasecmp(ps, "sslv3", n))
if (n==7 && !strncasecmp(ps, "tlsv1.2", n))
profile->tls_version |= SOFIA_TLS_VERSION_TLSv1_2;
ps=pe+1;
- if (!*pe) break;
}
} else if (!strcasecmp(var, "tls-timeout")) {
int v = atoi(val);