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