diff options
author | Ilya Terentyev | 2017-07-13 03:49:17 +0300 |
---|---|---|
committer | Ilya Terentyev | 2017-07-13 03:53:04 +0300 |
commit | 90db8e314f96b1fbcfa7e3c6921e02e0cb12a7db (patch) | |
tree | c9a132e28f55c4e91aa206433c269797a6e04f86 /sid-cpp-narrowing-v4.4.patch | |
download | aur-sidplayer.tar.gz |
initial commit; v4.4
Diffstat (limited to 'sid-cpp-narrowing-v4.4.patch')
-rw-r--r-- | sid-cpp-narrowing-v4.4.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sid-cpp-narrowing-v4.4.patch b/sid-cpp-narrowing-v4.4.patch new file mode 100644 index 000000000000..62b22b6a75d3 --- /dev/null +++ b/sid-cpp-narrowing-v4.4.patch @@ -0,0 +1,13 @@ +diff --git a/src/sid.cpp b/src/sid.cpp +index bad4644..59ff8ab 100644 +--- a/src/sid.cpp ++++ b/src/sid.cpp +@@ -471,7 +471,7 @@ static filt_t ffreq_hp[256]; // High-pass resonance frequency table + + // Table for sampled voices + #ifdef SID_PLAYER +-static const int16 sample_tab[16 * 3] = { ++static const uint16_t sample_tab[16 * 3] = { + 0x8000, 0x9111, 0xa222, 0xb333, 0xc444, 0xd555, 0xe666, 0xf777, + 0x0888, 0x1999, 0x2aaa, 0x3bbb, 0x4ccc, 0x5ddd, 0x6eee, 0x7fff, + |