mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
53 lines
2.1 KiB
Diff
53 lines
2.1 KiB
Diff
diff --git a/plugins/adplug/adplug/s3m.cpp b/plugins/adplug/adplug/s3m.cpp
|
|
index 173a756..2158bae 100644
|
|
--- a/plugins/adplug/adplug/s3m.cpp
|
|
+++ b/plugins/adplug/adplug/s3m.cpp
|
|
@@ -26,7 +26,7 @@
|
|
#include <string.h>
|
|
#include "s3m.h"
|
|
|
|
-const char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion
|
|
+const signed char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion
|
|
{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1};
|
|
|
|
const unsigned short Cs3mPlayer::notetable[12] = // S3M adlib note table
|
|
diff --git a/plugins/adplug/adplug/s3m.h b/plugins/adplug/adplug/s3m.h
|
|
index cf58c44..a00404c 100644
|
|
--- a/plugins/adplug/adplug/s3m.h
|
|
+++ b/plugins/adplug/adplug/s3m.h
|
|
@@ -92,7 +92,7 @@ class Cs3mPlayer: public CPlayer
|
|
char filetype[30];
|
|
|
|
private:
|
|
- static const char chnresolv[];
|
|
+ static const signed char chnresolv[];
|
|
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:
|