Blame SOURCES/audiofile-0.3.6-narrowing.patch

852130
diff -Nur audiofile-0.3.6-orig/test/NeXT.cpp audiofile-0.3.6/test/NeXT.cpp
852130
--- audiofile-0.3.6-orig/test/NeXT.cpp	2013-02-11 18:23:26.000000000 +0100
852130
+++ audiofile-0.3.6/test/NeXT.cpp	2016-02-04 10:37:32.457140823 +0100
852130
@@ -37,13 +37,13 @@
852130
 
852130
 #include "TestUtilities.h"
852130
 
852130
-const char kDataUnspecifiedLength[] =
852130
+const signed char kDataUnspecifiedLength[] =
852130
 {
852130
 	'.', 's', 'n', 'd',
852130
 	0, 0, 0, 24, // offset of 24 bytes
852130
-	0xff, 0xff, 0xff, 0xff, // unspecified length
852130
+	-1, -1, -1, -1, // unspecified length
852130
 	0, 0, 0, 3, // 16-bit linear
852130
-	0, 0, 172, 68, // 44100 Hz
852130
+	0, 0, -84, 68, // 44100 Hz (0xAC44)
852130
 	0, 0, 0, 1, // 1 channel
852130
 	0, 1,
852130
 	0, 1,
852130
@@ -57,13 +57,13 @@
852130
 	0, 55
852130
 };
852130
 
852130
-const char kDataTruncated[] =
852130
+const signed char kDataTruncated[] =
852130
 {
852130
 	'.', 's', 'n', 'd',
852130
 	0, 0, 0, 24, // offset of 24 bytes
852130
 	0, 0, 0, 20, // length of 20 bytes
852130
 	0, 0, 0, 3, // 16-bit linear
852130
-	0, 0, 172, 68, // 44100 Hz
852130
+	0, 0, -84, 68, // 44100 Hz (0xAC44)
852130
 	0, 0, 0, 1, // 1 channel
852130
 	0, 1,
852130
 	0, 1,
852130
@@ -152,13 +152,13 @@
852130
 	ASSERT_EQ(::unlink(testFileName.c_str()), 0);
852130
 }
852130
 
852130
-const char kDataZeroChannels[] =
852130
+const signed char kDataZeroChannels[] =
852130
 {
852130
 	'.', 's', 'n', 'd',
852130
 	0, 0, 0, 24, // offset of 24 bytes
852130
 	0, 0, 0, 2, // 2 bytes
852130
 	0, 0, 0, 3, // 16-bit linear
852130
-	0, 0, 172, 68, // 44100 Hz
852130
+	0, 0, -84, 68, // 44100 Hz (0xAC44)
852130
 	0, 0, 0, 0, // 0 channels
852130
 	0, 1
852130
 };