]>
Commit | Line | Data |
---|---|---|
16400598 JP |
1 | Description: explicit cast to int8_t |
2 | Fix FTBFS with GCC 6 due to narrowing conversions from 'char' to 'int8_t'. | |
3 | Author: Laszlo Boszormenyi (GCS) <gcs@debian.org> | |
4 | Forwarded: no | |
5 | Bug-Debian: https://bugs.debian.org/837378 | |
6 | Last-Update: 2016-09-19 | |
7 | ||
8 | --- | |
9 | ||
10 | --- sidplay-libs-2.1.1.orig/libsidplay/src/xsid/xsid.cpp | |
11 | +++ sidplay-libs-2.1.1/libsidplay/src/xsid/xsid.cpp | |
12 | @@ -96,8 +96,8 @@ const int8_t XSID::sampleConvertTable[16 | |
13 | */ | |
14 | const int8_t XSID::sampleConvertTable[16] = | |
15 | { | |
16 | - '\x80', '\x94', '\xa9', '\xbc', '\xce', '\xe1', '\xf2', '\x03', | |
17 | - '\x1b', '\x2a', '\x3b', '\x49', '\x58', '\x66', '\x73', '\x7f' | |
18 | + (int8_t)'\x80', (int8_t)'\x94', (int8_t)'\xa9', (int8_t)'\xbc', (int8_t)'\xce', (int8_t)'\xe1', (int8_t)'\xf2', (int8_t)'\x03', | |
19 | + (int8_t)'\x1b', (int8_t)'\x2a', (int8_t)'\x3b', (int8_t)'\x49', (int8_t)'\x58', (int8_t)'\x66', (int8_t)'\x73', (int8_t)'\x7f' | |
20 | }; | |
21 | ||
22 | const char *XSID::credit = |