[Freeswitch-svn] [commit] r9283 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Tue Aug 12 14:04:59 EDT 2008
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);
More information about the Freeswitch-svn
mailing list