Author: anthm Date: Tue Aug 12 14:04:59 2008 New Revision: 9283 Modified: freeswitch/trunk/src/switch_ivr_originate.c Log: fix compiler error Modified: freeswitch/trunk/src/switch_ivr_originate.c ============================================================================== --- freeswitch/trunk/src/switch_ivr_originate.c (original) +++ freeswitch/trunk/src/switch_ivr_originate.c Tue Aug 12 14:04:59 2008 @@ -421,7 +421,7 @@ olen = mlen; if (ringback.fh->resampler) { - olen *= ringback.fh->resampler->rfactor; + olen = (switch_size_t) (olen * ringback.fh->resampler->rfactor); } switch_core_file_read(ringback.fh, write_frame.data, &olen); @@ -1220,7 +1220,7 @@ olen = mlen; if (ringback.fh->resampler) { - olen *= ringback.fh->resampler->rfactor; + olen = (switch_size_t) (olen * ringback.fh->resampler->rfactor); } switch_core_file_read(ringback.fh, write_frame.data, &olen);
participants (1)
-
Freeswitch SVN