From b441c769b5bcf08ea2797ef291336559df75a21e Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Feb 04 2016 09:40:54 +0000 Subject: char on ARM is unsigned by default --- diff --git a/audiofile-0.3.6-narrowing.patch b/audiofile-0.3.6-narrowing.patch index 655a710..f701d89 100644 --- a/audiofile-0.3.6-narrowing.patch +++ b/audiofile-0.3.6-narrowing.patch @@ -1,7 +1,12 @@ -diff -Nurb --strip-trailing-cr audiofile-0.3.6-orig/test/NeXT.cpp audiofile-0.3.6/test/NeXT.cpp +diff -Nur audiofile-0.3.6-orig/test/NeXT.cpp audiofile-0.3.6/test/NeXT.cpp --- audiofile-0.3.6-orig/test/NeXT.cpp 2013-02-11 18:23:26.000000000 +0100 -+++ audiofile-0.3.6/test/NeXT.cpp 2016-02-03 21:49:10.867094322 +0100 -@@ -41,9 +41,9 @@ ++++ audiofile-0.3.6/test/NeXT.cpp 2016-02-04 10:37:32.457140823 +0100 +@@ -37,13 +37,13 @@ + + #include "TestUtilities.h" + +-const char kDataUnspecifiedLength[] = ++const signed char kDataUnspecifiedLength[] = { '.', 's', 'n', 'd', 0, 0, 0, 24, // offset of 24 bytes @@ -13,7 +18,14 @@ diff -Nurb --strip-trailing-cr audiofile-0.3.6-orig/test/NeXT.cpp audiofile-0.3. 0, 0, 0, 1, // 1 channel 0, 1, 0, 1, -@@ -63,7 +63,7 @@ +@@ -57,13 +57,13 @@ + 0, 55 + }; + +-const char kDataTruncated[] = ++const signed char kDataTruncated[] = + { + '.', 's', 'n', 'd', 0, 0, 0, 24, // offset of 24 bytes 0, 0, 0, 20, // length of 20 bytes 0, 0, 0, 3, // 16-bit linear @@ -22,7 +34,14 @@ diff -Nurb --strip-trailing-cr audiofile-0.3.6-orig/test/NeXT.cpp audiofile-0.3. 0, 0, 0, 1, // 1 channel 0, 1, 0, 1, -@@ -158,7 +158,7 @@ +@@ -152,13 +152,13 @@ + ASSERT_EQ(::unlink(testFileName.c_str()), 0); + } + +-const char kDataZeroChannels[] = ++const signed char kDataZeroChannels[] = + { + '.', 's', 'n', 'd', 0, 0, 0, 24, // offset of 24 bytes 0, 0, 0, 2, // 2 bytes 0, 0, 0, 3, // 16-bit linear