summaryrefslogtreecommitdiff
path: root/codecs/lpc10/voicin.c
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2006-02-10 23:37:27 +0000
committerMatthew Fredrickson <creslin@digium.com>2006-02-10 23:37:27 +0000
commit4f803dfda0ea9b498b887f8ba28fd5b1ba9dbc04 (patch)
tree57c12cf4eda0931613bfedd345484014eeabeb2f /codecs/lpc10/voicin.c
parentc344781c4bba6d7cb00aeaeb7348ab6228f2f771 (diff)
Lots of little fixes for doing MSVC compiling codecs in windows (#6022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/lpc10/voicin.c')
-rw-r--r--codecs/lpc10/voicin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/lpc10/voicin.c b/codecs/lpc10/voicin.c
index 45bb5d0d3..02e4d409c 100644
--- a/codecs/lpc10/voicin.c
+++ b/codecs/lpc10/voicin.c
@@ -778,7 +778,7 @@ d*/
/* NOTE: The divisor is a function of REF, the expected energies. */
/* Computing MIN */
/* Computing MAX */
- r__2 = sqrt((real) (*lbue * *lbve)) * 64 / 3000;
+ r__2 = (real)(sqrt((real) (*lbue * *lbve)) * 64 / 3000);
r__1 = max(r__2,1.f);
*dither = min(r__1,20.f);
/* Voicing decisions are returned in VOIBUF. */