aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/CHStone/adpcm/adpcm.c
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-11-04 11:31:55 +0000
committerYann Herklotz <git@yannherklotz.com>2020-11-09 19:41:24 +0000
commit79d8a87d68eadd33bfc1e5d25d4eb827000a232b (patch)
treec8c2c8e4bfb3c0be52758534607f38f188e1fedf /benchmarks/CHStone/adpcm/adpcm.c
parent39638453bf0405b2ae58277ff3c4879b8d6d784d (diff)
downloadvericert-kvx-79d8a87d68eadd33bfc1e5d25d4eb827000a232b.tar.gz
vericert-kvx-79d8a87d68eadd33bfc1e5d25d4eb827000a232b.zip
Add small changes to durbin and adpcm
Diffstat (limited to 'benchmarks/CHStone/adpcm/adpcm.c')
-rwxr-xr-xbenchmarks/CHStone/adpcm/adpcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/CHStone/adpcm/adpcm.c b/benchmarks/CHStone/adpcm/adpcm.c
index bcdc6dd..a7c47d5 100755
--- a/benchmarks/CHStone/adpcm/adpcm.c
+++ b/benchmarks/CHStone/adpcm/adpcm.c
@@ -461,7 +461,7 @@ adpcm_main (const int test_data[SIZE], int compressed[SIZE], int result[SIZE])
int dec_sh;
int dec_ph1, dec_ph2;
- int i, j;
+ unsigned int i, j;
/* reset, initialize required memory */
@@ -770,13 +770,13 @@ adpcm_main (const int test_data[SIZE], int compressed[SIZE], int result[SIZE])
{
int opA1, opB1;
int opA2, opB2;
- if(i==0){
+ if((int)i==0){
opA1 = xd;
opB1 = (*h_ptr++);
opA2 = xs;
opB2 = (*h_ptr++);
}
- else if(i==11){
+ else if((int)i==11){
opA1 = (*ac_ptr++);
opB1 = (*h_ptr++);
opA2 = (*ad_ptr++);