diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h index 32780e6cd6..072b31c5dc 100644 --- a/src/include/switch_utils.h +++ b/src/include/switch_utils.h @@ -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