[Freeswitch-trunk] [commit] r6312 - freeswitch/trunk/libs/libteletone/src
Freeswitch SVN
mikej at freeswitch.org
Fri Nov 16 15:18:01 EST 2007
Author: mikej
Date: Fri Nov 16 15:18:01 2007
New Revision: 6312
Modified:
freeswitch/trunk/libs/libteletone/src/libteletone_detect.c
Log:
silence warning
Modified: freeswitch/trunk/libs/libteletone/src/libteletone_detect.c
==============================================================================
--- freeswitch/trunk/libs/libteletone/src/libteletone_detect.c (original)
+++ freeswitch/trunk/libs/libteletone/src/libteletone_detect.c Fri Nov 16 15:18:01 2007
@@ -129,6 +129,9 @@
goertzel_state->v3 = (float)(goertzel_state->fac*goertzel_state->v2 - v1 + sample_buffer[i]);
}
}
+#ifdef _MSC_VER
+#pragma warning(disable:4244)
+#endif
#define teletone_goertzel_result(gs) (double)(((gs)->v3 * (gs)->v3 + (gs)->v2 * (gs)->v2 - (gs)->v2 * (gs)->v3 * (gs)->fac))
More information about the Freeswitch-trunk
mailing list