--- audiofile-0.3.6.orig/libaudiofile/modules/SimpleModule.h 2025-12-08 12:43:45 +++ audiofile-0.3.6/libaudiofile/modules/SimpleModule.h 2025-12-08 12:53:06 @@ -122,8 +122,8 @@ struct signConverter typedef typename IntTypes::SignedType SignedType; typedef typename IntTypes::UnsignedType UnsignedType; - static const int kScaleBits = (Format + 1) * CHAR_BIT - 1; - static const int kMinSignedValue = -1 << kScaleBits; + static constexpr int kScaleBits = (Format + 1) * CHAR_BIT - 1; + static constexpr int kMinSignedValue = static_cast(-(1LL << kScaleBits)); struct signedToUnsigned : public std::unary_function {