Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2012-03-08 23:09:09 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-03-08 23:09:09 +0400
commit905197d750d00c460c4940c42c3b7b9c2f85441c (patch)
treea81fb46750b02635cad0c22bb429a6b41d294ed3 /silk/dec_API.c
parent59354a7742ff0fc182886f2f2567026e516c1eef (diff)
Fixes a bunch of 16-bit issues that the C5X compiler warns about
Diffstat (limited to 'silk/dec_API.c')
-rw-r--r--silk/dec_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/dec_API.c b/silk/dec_API.c
index 8c9ed24a..77ea5e77 100644
--- a/silk/dec_API.c
+++ b/silk/dec_API.c
@@ -151,7 +151,7 @@ opus_int silk_Decode( /* O Returns error co
psDec->nChannelsAPI = decControl->nChannelsAPI;
psDec->nChannelsInternal = decControl->nChannelsInternal;
- if( decControl->API_sampleRate > MAX_API_FS_KHZ * 1000 || decControl->API_sampleRate < 8000 ) {
+ if( decControl->API_sampleRate > (opus_int32)MAX_API_FS_KHZ * 1000 || decControl->API_sampleRate < 8000 ) {
ret = SILK_DEC_INVALID_SAMPLING_FREQUENCY;
return( ret );
}