1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-13 08:06:32 +01:00

lib-src/libsndfile: fix warnings about bit-shifting negative constant

This commit is contained in:
Paul Licameli
2018-11-13 08:49:13 -05:00
parent 449bd38477
commit 73452e96ee
2 changed files with 2 additions and 2 deletions

View File

@@ -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 );