| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/emulators/quasi88/files/ |
Upload File : |
src/fmgen/psg.cpp:121:37: error: constant expression evaluates to -1 which cannot be narrowed to type 'uint8' (aka 'unsigned char') [-Wc++11-narrowing]
static uint8 table3[4] = { 0, 1, -1, 0 };
^~
--- src/fmgen/psg.cpp.orig 2003-09-05 15:06:43 UTC
+++ src/fmgen/psg.cpp
@@ -118,7 +118,7 @@ void PSG::MakeEnvelopTable()
2,2, 2,0, 2,1, 2,3, 1,1, 1,3, 1,2, 1,0,
};
static uint8 table2[4] = { 0, 0, 31, 31 };
- static uint8 table3[4] = { 0, 1, -1, 0 };
+ static uint8 table3[4] = { 0, 1, 255, 0 };
uint* ptr = enveloptable[0];