--- 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<Format>::SignedType SignedType;
 	typedef typename IntTypes<Format>::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<int>(-(1LL << kScaleBits));
 
 	struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType>
 	{
