From aef369f536ecb89ab94c2c6bc6b6e0a767fab39d Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin <jmvalin@jmvalin.ca> Date: Tue, 30 May 2017 14:26:38 -0400 Subject: [PATCH] silk_LIMIT_32() should return an opus_int32 (not opus_int) Thanks to petrufm for pointing that out: https://github.com/xiph/opus/issues/35 --- silk/MacroCount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/silk/MacroCount.h b/silk/MacroCount.h index 54dbdbd98..78100ffed 100644 --- a/silk/MacroCount.h +++ b/silk/MacroCount.h @@ -691,7 +691,7 @@ return(ret); #undef silk_LIMIT_32 -static OPUS_INLINE opus_int silk_LIMIT_32(opus_int32 a, opus_int32 limit1, opus_int32 limit2) +static OPUS_INLINE opus_int32 silk_LIMIT_32(opus_int32 a, opus_int32 limit1, opus_int32 limit2) { opus_int32 ret; ops_count += 6; -- GitLab