[Freeswitch-svn] [commit] r4110 - freeswitch/trunk/src/include

Freeswitch SVN mikej at freeswitch.org
Fri Feb 2 23:08:05 EST 2007


Author: mikej
Date: Fri Feb  2 23:08:05 2007
New Revision: 4110

Modified:
   freeswitch/trunk/src/include/switch_utils.h

Log:
tweak macro for clean build on msvc.

Modified: freeswitch/trunk/src/include/switch_utils.h
==============================================================================
--- freeswitch/trunk/src/include/switch_utils.h	(original)
+++ freeswitch/trunk/src/include/switch_utils.h	Fri Feb  2 23:08:05 2007
@@ -50,7 +50,7 @@
 #define vsnprintf apr_vsnprintf
 #endif
 
-#define switch_bytes_per_frame(rate, interval) (uint32_t)((float)rate / (1000.0f / (float)interval));
+#define switch_bytes_per_frame(rate, interval) ((uint32_t)((float)rate / (1000.0f / (float)interval)))
 
 #define SWITCH_SMAX 32767
 #define SWITCH_SMIN -32768



More information about the Freeswitch-svn mailing list