tweak macro for clean build on msvc.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4110 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-02-03 04:08:05 +00:00
parent 6f9be6bf5a
commit 5ca7037a84
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ SWITCH_BEGIN_EXTERN_C
#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