diff options
Diffstat (limited to 'user/audiofile/tests-unsigned-gcc6.patch')
-rw-r--r-- | user/audiofile/tests-unsigned-gcc6.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/audiofile/tests-unsigned-gcc6.patch b/user/audiofile/tests-unsigned-gcc6.patch new file mode 100644 index 000000000..34e179a92 --- /dev/null +++ b/user/audiofile/tests-unsigned-gcc6.patch @@ -0,0 +1,29 @@ +--- audiofile-0.3.6/test/NeXT.cpp.old 2013-02-11 17:23:26.000000000 +0000 ++++ audiofile-0.3.6/test/NeXT.cpp 2018-03-25 04:19:46.050797108 +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 |