File audiofile-gcc6.patch of Package audiofile

--- libaudiofile/modules/SimpleModule.h.orig	2016-01-29 12:17:56.906436741 +0000
+++ libaudiofile/modules/SimpleModule.h	2016-01-29 12:18:31.610839734 +0000
@@ -123,7 +123,7 @@
 	typedef typename IntTypes<Format>::UnsignedType UnsignedType;
 
 	static const int kScaleBits = (Format + 1) * CHAR_BIT - 1;
-	static const int kMinSignedValue = -1 << kScaleBits;
+	static const int kMinSignedValue = -1U << kScaleBits;
 
 	struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType>
 	{
--- test/NeXT.cpp.orig	2016-01-29 12:24:59.471342657 +0000
+++ test/NeXT.cpp	2016-01-29 12:26:49.788623085 +0000
@@ -37,7 +37,7 @@
 
 #include "TestUtilities.h"
 
-const char kDataUnspecifiedLength[] =
+const unsigned char kDataUnspecifiedLength[] =
 {
 	'.', 's', 'n', 'd',
 	0, 0, 0, 24, // offset of 24 bytes
@@ -57,7 +57,7 @@
 	0, 55
 };
 
-const char kDataTruncated[] =
+const unsigned char kDataTruncated[] =
 {
 	'.', 's', 'n', 'd',
 	0, 0, 0, 24, // offset of 24 bytes
@@ -152,7 +152,7 @@
 	ASSERT_EQ(::unlink(testFileName.c_str()), 0);
 }
 
-const char kDataZeroChannels[] =
+const unsigned char kDataZeroChannels[] =
 {
 	'.', 's', 'n', 'd',
 	0, 0, 0, 24, // offset of 24 bytes
openSUSE Build Service is sponsored by