}
}
- switch_resample_process(fh->resampler, data, *len);
+ switch_resample_process(fh->resampler, data, (uint32_t)*len);
if (fh->resampler->to_len < want || fh->resampler->to_len > orig_len) {
if (!fh->buffer) {
return SWITCH_STATUS_GENERR;
}
}
- switch_resample_process(fh->resampler, data, *len * fh->channels);
+ switch_resample_process(fh->resampler, data, (uint32_t)(*len * fh->channels));
if (fh->resampler->to_len > orig_len * fh->channels) {
if (!fh->dbuf) {