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

FreeSWITCH SVN mikej at freeswitch.org
Tue Feb 17 22:22:43 PST 2009


Author: mikej
Date: Wed Feb 18 00:22:43 2009
New Revision: 12131

Log:
fix msvc 2005 build warnings

Modified:
   freeswitch/trunk/src/switch_core_file.c

Modified: freeswitch/trunk/src/switch_core_file.c
==============================================================================
--- freeswitch/trunk/src/switch_core_file.c	(original)
+++ freeswitch/trunk/src/switch_core_file.c	Wed Feb 18 00:22:43 2009
@@ -220,7 +220,7 @@
 			}
 		}
 
-		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) {
@@ -279,7 +279,7 @@
 				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) {



More information about the Freeswitch-svn mailing list