[Freeswitch-svn] [commit] r6784 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Thu Dec 13 22:17:30 EST 2007


Author: mikej
Date: Thu Dec 13 22:17:30 2007
New Revision: 6784

Modified:
   freeswitch/trunk/src/switch_core_file.c

Log:
fix msvc build.

Modified: freeswitch/trunk/src/switch_core_file.c
==============================================================================
--- freeswitch/trunk/src/switch_core_file.c	(original)
+++ freeswitch/trunk/src/switch_core_file.c	Thu Dec 13 22:17:30 2007
@@ -130,7 +130,7 @@
 									   fh->native_rate,
 									   orig_len * 10,
 									   fh->samplerate,
-									   orig_len * 10,
+									   (uint32_t)orig_len * 10,
 									   fh->memory_pool) != SWITCH_STATUS_SUCCESS) {
 				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Unable to create resampler!\n");
 				return SWITCH_STATUS_GENERR;
@@ -180,7 +180,7 @@
 									   fh->native_rate,
 									   orig_len * 10,
 									   fh->samplerate,
-									   orig_len * 10,
+									   (uint32_t)orig_len * 10,
 									   fh->memory_pool) != SWITCH_STATUS_SUCCESS) {
 				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Unable to create resampler!\n");
 				return SWITCH_STATUS_GENERR;



More information about the Freeswitch-svn mailing list