summaryrefslogtreecommitdiff
path: root/codecs/lpc10/decode.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/decode.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/decode.c')
-rw-r--r--codecs/lpc10/decode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/codecs/lpc10/decode.c b/codecs/lpc10/decode.c
index 8a1661647..460c61d76 100644
--- a/codecs/lpc10/decode.c
+++ b/codecs/lpc10/decode.c
@@ -518,7 +518,7 @@ static integer c__2 = 2;
drc[(5 - i__) * 3 - 2] = iout;
}
/* Determine error rate */
- *erate = *erate * .96875f + errcnt * 102;
+ *erate = (integer)(*erate * .96875f + errcnt * 102);
}
/* Get unsmoothed RMS, RC's, and PITCH */
*irms = drms[1];
@@ -611,7 +611,7 @@ L900:
ishift = 15 - nbit[i__ - 1];
i2 *= pow_ii(&c__2, &ishift);
i2 += qb[i__ - 3];
- irc[i__] = i2 * descl[i__ - 3] + deadd[i__ - 3];
+ irc[i__] = (integer)(i2 * descl[i__ - 3] + deadd[i__ - 3]);
}
/* IF (LISTL.GE.3) WRITE(FDEBUG,811) IRMS, (IRC(I),I=1,ORDER) */
/* 811 FORMAT(1X,'<<DECODE OUT>>',T45,I4,1X,10I8) */