summarylogtreecommitdiffstats
path: root/sid-cpp-narrowing-v4.4.patch
blob: 62b22b6a75d33cb2468e61a1473da6223ddbf7ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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,