From 089d2a8d46a043f78dabbdaab615dbd98b7f1650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Wed, 3 Aug 2016 13:03:06 +0200 Subject: community/deadbeef: try to fix similar issue in sid plugin --- community/deadbeef/arm-buildfix.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'community/deadbeef/arm-buildfix.patch') 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: -- cgit v1.2.3