mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 15:49:36 +02:00
lib-src/libsndfile: fix warnings about bit-shifting negative constant
This commit is contained in:
parent
449bd38477
commit
73452e96ee
@ -47,7 +47,7 @@ static void Decoding_of_the_coded_Log_Area_Ratios (
|
||||
#undef STEP
|
||||
#define STEP( B, MIC, INVA ) \
|
||||
temp1 = GSM_ADD( *LARc++, MIC ) << 10; \
|
||||
temp1 = GSM_SUB( temp1, B << 1 ); \
|
||||
temp1 = GSM_SUB( temp1, B * 2 ); \
|
||||
temp1 = GSM_MULT_R( INVA, temp1 ); \
|
||||
*LARpp++ = GSM_ADD( temp1, temp1 );
|
||||
|
||||
|
@ -63,7 +63,7 @@ ima_oki_adpcm_init (IMA_OKI_ADPCM * state, IMA_OKI_ADPCM_TYPE type)
|
||||
else
|
||||
{ state->max_step_index = ARRAY_LEN (oki_steps) - 1 ;
|
||||
state->steps = oki_steps ;
|
||||
state->mask = (~0) << 4 ;
|
||||
state->mask = (~0u) << 4 ;
|
||||
} ;
|
||||
|
||||
} /* ima_oki_adpcm_init */
|
||||
|
Loading…
x
Reference in New Issue
Block a user