diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-08-03 13:03:06 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-08-03 13:03:06 +0200 |
commit | 089d2a8d46a043f78dabbdaab615dbd98b7f1650 (patch) | |
tree | 66ec9013bd873229bdb56fee21f4f43b6ddf4ded /community/deadbeef/arm-buildfix.patch | |
parent | eaea7f3d3e99f05562f2d8b93101ee09e63d35cb (diff) | |
download | aports-089d2a8d46a043f78dabbdaab615dbd98b7f1650.tar.bz2 aports-089d2a8d46a043f78dabbdaab615dbd98b7f1650.tar.xz |
community/deadbeef: try to fix similar issue in sid plugin
Diffstat (limited to 'community/deadbeef/arm-buildfix.patch')
-rw-r--r-- | community/deadbeef/arm-buildfix.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/deadbeef/arm-buildfix.patch b/community/deadbeef/arm-buildfix.patch index 4404891948..5776b9225a 100644 --- a/community/deadbeef/arm-buildfix.patch +++ b/community/deadbeef/arm-buildfix.patch @@ -24,3 +24,29 @@ index cf58c44..a00404c 100644 static const unsigned short notetable[12]; static const unsigned char vibratotab[32]; +diff --git a/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp b/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp +index 29b5c90..55dd167 100644 +--- a/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp ++++ b/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp +@@ -81,7 +81,7 @@ const int8_t XSID::sampleConvertTable[16] = + '\x08', '\x19', '\x2a', '\x3b', '\x4c', '\x5d', '\x6e', '\x7f' + }; + */ +-const int8_t XSID::sampleConvertTable[16] = ++const uint8_t XSID::sampleConvertTable[16] = + { + '\x80', '\x94', '\xa9', '\xbc', '\xce', '\xe1', '\xf2', '\x03', + '\x1b', '\x2a', '\x3b', '\x49', '\x58', '\x66', '\x73', '\x7f' +diff --git a/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h b/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h +index 98171d7..9dee5e3 100644 +--- a/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h ++++ b/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h +@@ -234,7 +234,7 @@ private: + uint8_t sidData0x18; + bool _sidSamples; + int8_t sampleOffset; +- static const int8_t sampleConvertTable[16]; ++ static const uint8_t sampleConvertTable[16]; + bool wasRunning; + + private: |