+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nestopia-1.50nb20/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nestopia-1.50nb20/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for nestopia-1.50nb20 --- source/core/.dirstamp --- --- source/core/.deps/.dirstamp --- --- source/core/input/.dirstamp --- --- source/core/input/.deps/.dirstamp --- --- source/core/vssystem/.dirstamp --- --- source/core/vssystem/.deps/.dirstamp --- --- source/core/api/.dirstamp --- --- source/core/api/.deps/.dirstamp --- --- source/core/board/.dirstamp --- --- source/core/board/.deps/.dirstamp --- --- source/common/.dirstamp --- --- source/common/.deps/.dirstamp --- --- source/sdl/.dirstamp --- --- source/sdl/.deps/.dirstamp --- --- source/gtkui/.dirstamp --- --- source/gtkui/.deps/.dirstamp --- --- source/core/nestopia-NstAssert.o --- CXX source/core/nestopia-NstAssert.o --- source/core/nestopia-NstCartridgeInes.o --- CXX source/core/nestopia-NstCartridgeInes.o --- source/core/nestopia-NstFile.o --- CXX source/core/nestopia-NstFile.o --- source/core/nestopia-NstVideoFilterxBR.o --- CXX source/core/nestopia-NstVideoFilterxBR.o --- source/core/nestopia-NstVideoFilterNone.o --- CXX source/core/nestopia-NstVideoFilterNone.o --- source/core/nestopia-NstPatcherUps.o --- CXX source/core/nestopia-NstPatcherUps.o --- source/core/nestopia-NstStream.o --- CXX source/core/nestopia-NstStream.o source/core/NstStream.cpp: In member function 'void Nes::Core::Stream::Out::Write16(Nes::uint)': source/core/NstStream.cpp:310:51: warning: narrowing conversion of '((((unsigned int)data) >> 0) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 310 | data >> 0 & 0xFF, | ~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:311:51: warning: narrowing conversion of '((((unsigned int)data) >> 8) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 311 | data >> 8 & 0xFF | ~~~~~~~~~~^~~~~~ source/core/NstStream.cpp: In member function 'void Nes::Core::Stream::Out::Write32(Nes::dword)': source/core/NstStream.cpp:323:52: warning: narrowing conversion of '((((unsigned int)data) >> 0) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 323 | data >> 0 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:324:52: warning: narrowing conversion of '((((unsigned int)data) >> 8) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 324 | data >> 8 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:325:52: warning: narrowing conversion of '((((unsigned int)data) >> 16) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 325 | data >> 16 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:326:52: warning: narrowing conversion of '((((unsigned int)data) >> 24) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 326 | data >> 24 & 0xFF | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp: In member function 'void Nes::Core::Stream::Out::Write64(Nes::qaword)': source/core/NstStream.cpp:336:52: warning: narrowing conversion of '((((long unsigned int)data) >> 0) & 255)' from 'long unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 336 | data >> 0 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:337:52: warning: narrowing conversion of '((((long unsigned int)data) >> 8) & 255)' from 'long unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 337 | data >> 8 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:338:52: warning: narrowing conversion of '((((long unsigned int)data) >> 16) & 255)' from 'long unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 338 | data >> 16 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:339:52: warning: narrowing conversion of '((((long unsigned int)data) >> 24) & 255)' from 'long unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 339 | data >> 24 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:340:52: warning: narrowing conversion of '((((long unsigned int)data) >> 32) & 255)' from 'long unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 340 | data >> 32 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:341:52: warning: narrowing conversion of '((((long unsigned int)data) >> 40) & 255)' from 'long unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 341 | data >> 40 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:342:52: warning: narrowing conversion of '((((long unsigned int)data) >> 48) & 255)' from 'long unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 342 | data >> 48 & 0xFF, | ~~~~~~~~~~~^~~~~~ source/core/NstStream.cpp:343:52: warning: narrowing conversion of '((((long unsigned int)data) >> 56) & 255)' from 'long unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 343 | data >> 56 & 0xFF | ~~~~~~~~~~~^~~~~~ --- source/core/input/nestopia-NstInpTopRider.o --- CXX source/core/input/nestopia-NstInpTopRider.o --- source/core/input/nestopia-NstInpCrazyClimber.o --- CXX source/core/input/nestopia-NstInpCrazyClimber.o --- source/core/input/nestopia-NstInpPowerGlove.o --- CXX source/core/input/nestopia-NstInpPowerGlove.o source/core/input/NstInpPowerGlove.cpp: In member function 'virtual void Nes::Core::Input::PowerGlove::SaveState(Nes::Core::State::Saver&, Nes::byte) const': source/core/input/NstInpPowerGlove.cpp:79:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Input::PowerGlove*)this)->Nes::Core::Input::PowerGlove::latch' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 79 | latch, | ^~~~~ source/core/input/NstInpPowerGlove.cpp:80:55: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Input::PowerGlove*)this)->Nes::Core::Input::PowerGlove::stream) == (~0)) ? 255 : ((Nes::uint)((const Nes::Core::Input::PowerGlove*)this)->Nes::Core::Input::PowerGlove::stream))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 80 | stream == ~0U ? 0xFF : stream, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ --- source/core/input/nestopia-NstInpOekaKidsTablet.o --- CXX source/core/input/nestopia-NstInpOekaKidsTablet.o --- source/core/input/nestopia-NstInpMouse.o --- CXX source/core/input/nestopia-NstInpMouse.o source/core/input/NstInpMouse.cpp: In member function 'virtual void Nes::Core::Input::Mouse::SaveState(Nes::Core::State::Saver&, Nes::byte) const': source/core/input/NstInpMouse.cpp:55:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Input::Mouse*)this)->Nes::Core::Input::Mouse::strobe' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 55 | strobe, stream ^ 0xFF | ^~~~~~ source/core/input/NstInpMouse.cpp:55:56: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Input::Mouse*)this)->Nes::Core::Input::Mouse::stream) ^ 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 55 | strobe, stream ^ 0xFF | ~~~~~~~^~~~~~ --- source/core/input/nestopia-NstInpFamilyTrainer.o --- CXX source/core/input/nestopia-NstInpFamilyTrainer.o --- source/core/input/nestopia-NstInpPartyTap.o --- CXX source/core/input/nestopia-NstInpPartyTap.o --- source/core/input/nestopia-NstInpMahjong.o --- CXX source/core/input/nestopia-NstInpMahjong.o --- source/core/input/nestopia-NstInpTurboFile.o --- CXX source/core/input/nestopia-NstInpTurboFile.o source/core/input/NstInpTurboFile.cpp: In member function 'virtual void Nes::Core::Input::TurboFile::SaveState(Nes::Core::State::Saver&, Nes::byte) const': source/core/input/NstInpTurboFile.cpp:68:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Input::TurboFile*)this)->Nes::Core::Input::TurboFile::pos) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 68 | pos & 0xFF, | ~~~~^~~~~~ source/core/input/NstInpTurboFile.cpp:69:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Input::TurboFile*)this)->Nes::Core::Input::TurboFile::pos) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 69 | pos >> 8, | ~~~~^~~~ source/core/input/NstInpTurboFile.cpp:70:60: warning: narrowing conversion of '((count | (((unsigned int)((const Nes::Core::Input::TurboFile*)this)->Nes::Core::Input::TurboFile::old) << 1)) | (((unsigned int)((const Nes::Core::Input::TurboFile*)this)->Nes::Core::Input::TurboFile::out) << 2))' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 70 | count | (old << 1) | (out << 2) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ --- source/core/input/nestopia-NstInpBarcodeWorld.o --- CXX source/core/input/nestopia-NstInpBarcodeWorld.o --- source/core/input/nestopia-NstInpPad.o --- CXX source/core/input/nestopia-NstInpPad.o source/core/input/NstInpPad.cpp: In member function 'virtual void Nes::Core::Input::Pad::SaveState(Nes::Core::State::Saver&, Nes::byte) const': source/core/input/NstInpPad.cpp:68:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Input::Pad*)this)->Nes::Core::Input::Pad::strobe' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 68 | strobe, stream ^ 0xFF | ^~~~~~ source/core/input/NstInpPad.cpp:68:56: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Input::Pad*)this)->Nes::Core::Input::Pad::stream) ^ 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 68 | strobe, stream ^ 0xFF | ~~~~~~~^~~~~~ --- source/core/input/nestopia-NstInpFamilyKeyboard.o --- CXX source/core/input/nestopia-NstInpFamilyKeyboard.o --- source/core/input/nestopia-NstInpAdapter.o --- CXX source/core/input/nestopia-NstInpAdapter.o source/core/input/NstInpAdapter.cpp: In member function 'void Nes::Core::Input::AdapterFour::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/input/NstInpAdapter.cpp:184:59: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Input::AdapterFour*)this)->Nes::Core::Input::AdapterFour::increaser) ^ 1)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 184 | increaser ^ 1, count[0], count[1] | ~~~~~~~~~~^~~ source/core/input/NstInpAdapter.cpp:184:71: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Input::AdapterFour*)this)->Nes::Core::Input::AdapterFour::count[0]' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 184 | increaser ^ 1, count[0], count[1] | ~~~~~~~^ source/core/input/NstInpAdapter.cpp:184:81: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Input::AdapterFour*)this)->Nes::Core::Input::AdapterFour::count[1]' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 184 | increaser ^ 1, count[0], count[1] | ~~~~~~~^ --- source/core/input/nestopia-NstInpRob.o --- CXX source/core/input/nestopia-NstInpRob.o source/core/input/NstInpRob.cpp: In member function 'virtual void Nes::Core::Input::Rob::SaveState(Nes::Core::State::Saver&, Nes::byte) const': source/core/input/NstInpRob.cpp:58:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Input::Rob*)this)->Nes::Core::Input::Rob::strobe' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 58 | strobe, | ^~~~~~ source/core/input/NstInpRob.cpp:59:48: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Input::Rob*)this)->Nes::Core::Input::Rob::stream) ^ 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 59 | stream ^ 0xFF, | ~~~~~~~^~~~~~ source/core/input/NstInpRob.cpp:60:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Input::Rob*)this)->Nes::Core::Input::Rob::state' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 60 | state, | ^~~~~ source/core/input/NstInpRob.cpp:62:46: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Input::Rob*)this)->Nes::Core::Input::Rob::code) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 62 | code & 0xFF, | ~~~~~^~~~~~ source/core/input/NstInpRob.cpp:63:46: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Input::Rob*)this)->Nes::Core::Input::Rob::code) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 63 | code >> 8 | ~~~~~^~~~ --- source/core/input/nestopia-NstInpDoremikkoKeyboard.o --- CXX source/core/input/nestopia-NstInpDoremikkoKeyboard.o --- source/core/input/nestopia-NstInpPachinko.o --- CXX source/core/input/nestopia-NstInpPachinko.o --- source/core/input/nestopia-NstInpKonamiHyperShot.o --- CXX source/core/input/nestopia-NstInpKonamiHyperShot.o --- source/core/input/nestopia-NstInpZapper.o --- CXX source/core/input/nestopia-NstInpZapper.o source/core/input/NstInpZapper.cpp: In member function 'virtual void Nes::Core::Input::Zapper::SaveState(Nes::Core::State::Saver&, Nes::byte) const': source/core/input/NstInpZapper.cpp:140:48: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Input::Zapper*)this)->Nes::Core::Input::Zapper::arcade) != 0) ? ((((unsigned int)((const Nes::Core::Input::Zapper*)this)->Nes::Core::Input::Zapper::shifter) != 0) ? 1 : 3) : 0)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 140 | arcade ? shifter ? 0x1 : 0x3 : 0x0, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/input/NstInpZapper.cpp:141:48: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Input::Zapper*)this)->Nes::Core::Input::Zapper::arcade) != 0) ? ((Nes::uint)((const Nes::Core::Input::Zapper*)this)->Nes::Core::Input::Zapper::stream) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 141 | arcade ? stream : 0x00 | ~~~~~~~^~~~~~~~~~~~~~~ --- source/core/input/nestopia-NstInpHoriTrack.o --- CXX source/core/input/nestopia-NstInpHoriTrack.o --- source/core/input/nestopia-NstInpExcitingBoxing.o --- CXX source/core/input/nestopia-NstInpExcitingBoxing.o --- source/core/input/nestopia-NstInpPowerPad.o --- CXX source/core/input/nestopia-NstInpPowerPad.o --- source/core/input/nestopia-NstInpSuborKeyboard.o --- CXX source/core/input/nestopia-NstInpSuborKeyboard.o --- source/core/input/nestopia-NstInpPokkunMoguraa.o --- CXX source/core/input/nestopia-NstInpPokkunMoguraa.o --- source/core/input/nestopia-NstInpBandaiHyperShot.o --- CXX source/core/input/nestopia-NstInpBandaiHyperShot.o --- source/core/input/nestopia-NstInpPaddle.o --- CXX source/core/input/nestopia-NstInpPaddle.o --- source/core/nestopia-NstTracker.o --- CXX source/core/nestopia-NstTracker.o --- source/core/nestopia-NstXml.o --- CXX source/core/nestopia-NstXml.o --- source/core/nestopia-NstProperties.o --- CXX source/core/nestopia-NstProperties.o --- source/core/nestopia-NstCpu.o --- CXX source/core/nestopia-NstCpu.o source/core/NstCpu.cpp: In member function 'void Nes::Core::Cpu::SaveState(Nes::Core::State::Saver&, Nes::dword, Nes::dword) const': source/core/NstCpu.cpp:343:44: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::pc) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 343 | pc & 0xFF, | ~~~^~~~~~ source/core/NstCpu.cpp:344:44: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::pc) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 344 | pc >> 8, | ~~~^~~~ source/core/NstCpu.cpp:345:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::sp' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 345 | sp, | ^~ source/core/NstCpu.cpp:346:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::a' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 346 | a, | ^ source/core/NstCpu.cpp:347:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::x' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 347 | x, | ^ source/core/NstCpu.cpp:348:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::y' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 348 | y, | ^ source/core/NstCpu.cpp:349:51: warning: narrowing conversion of '((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::flags.Nes::Core::Cpu::Flags::Pack()' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 349 | flags.Pack() | ~~~~~~~~~~^~ source/core/NstCpu.cpp:364:93: warning: narrowing conversion of '(((((((((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::interrupt.Nes::Core::Cpu::Interrupt::nmiClock) != ((unsigned int)Nes::Core::Cpu::CYCLE_MAX)) ? 1 : 0) | (((((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::interrupt.Nes::Core::Cpu::Interrupt::low) & ((unsigned int)((int)Nes::Core::Cpu::IRQ_FRAME))) != 0) ? 2 : 0)) | (((((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::interrupt.Nes::Core::Cpu::Interrupt::low) & ((unsigned int)((int)Nes::Core::Cpu::IRQ_DMC))) != 0) ? 4 : 0)) | (((((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::interrupt.Nes::Core::Cpu::Interrupt::low) & ((unsigned int)((int)Nes::Core::Cpu::IRQ_EXT))) != 0) ? 8 : 0)) | ((((int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::jammed) != 0) ? 64 : 0)) | ((((int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::model) == ((int)Nes::Core::CPU_RP2A07)) ? 128 : ((((int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::model) == ((int)Nes::Core::CPU_DENDY)) ? 32 : 0)))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 360 | ((interrupt.nmiClock != CYCLE_MAX) ? 0x01U : 0x00U) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 361 | ((interrupt.low & IRQ_FRAME) ? 0x02U : 0x00U) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 362 | ((interrupt.low & IRQ_DMC) ? 0x04U : 0x00U) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 363 | ((interrupt.low & IRQ_EXT) ? 0x08U : 0x00U) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 364 | (jammed ? 0x40U : 0x00U) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 365 | (model == CPU_RP2A07 ? 0x80U : model == CPU_DENDY ? 0x20U : 0x00U), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstCpu.cpp:366:54: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::cycles.Nes::Core::Cpu::Cycles::count) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 366 | cycles.count & 0xFF, | ~~~~~~~~~~~~~^~~~~~ source/core/NstCpu.cpp:367:54: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::cycles.Nes::Core::Cpu::Cycles::count) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 367 | cycles.count >> 8, | ~~~~~~~~~~~~~^~~~ source/core/NstCpu.cpp:368:75: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::interrupt.Nes::Core::Cpu::Interrupt::nmiClock) != ((unsigned int)Nes::Core::Cpu::CYCLE_MAX)) ? (((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::interrupt.Nes::Core::Cpu::Interrupt::nmiClock) + 1) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 368 | (interrupt.nmiClock != CYCLE_MAX) ? interrupt.nmiClock+1 : 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstCpu.cpp:369:75: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::interrupt.Nes::Core::Cpu::Interrupt::irqClock) != ((unsigned int)Nes::Core::Cpu::CYCLE_MAX)) ? (((unsigned int)((const Nes::Core::Cpu*)this)->Nes::Core::Cpu::interrupt.Nes::Core::Cpu::Interrupt::irqClock) + 1) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 369 | (interrupt.irqClock != CYCLE_MAX) ? interrupt.irqClock+1 : 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ --- source/core/nestopia-NstVideoRenderer.o --- CXX source/core/nestopia-NstVideoRenderer.o --- source/core/nestopia-NstPatcherIps.o --- CXX source/core/nestopia-NstPatcherIps.o --- source/core/nestopia-NstTrackerRewinder.o --- CXX source/core/nestopia-NstTrackerRewinder.o --- source/core/nestopia-NstVector.o --- CXX source/core/nestopia-NstVector.o --- source/core/nestopia-NstLog.o --- CXX source/core/nestopia-NstLog.o --- source/core/nestopia-NstSoundPlayer.o --- --- source/core/nestopia-NstSoundRenderer.o --- --- source/core/nestopia-NstSoundPlayer.o --- CXX source/core/nestopia-NstSoundPlayer.o --- source/core/nestopia-NstSoundRenderer.o --- CXX source/core/nestopia-NstSoundRenderer.o --- source/core/nestopia-NstCartridge.o --- CXX source/core/nestopia-NstCartridge.o --- source/core/nestopia-NstChips.o --- CXX source/core/nestopia-NstChips.o --- source/core/nestopia-NstApu.o --- CXX source/core/nestopia-NstApu.o source/core/NstApu.cpp: In member function 'void Nes::Core::Apu::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/NstApu.cpp:485:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Apu*)this)->Nes::Core::Apu::ctrl' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 485 | ctrl, | ^~~~ source/core/NstApu.cpp:486:47: warning: narrowing conversion of '(clock & 255)' from 'Nes::Core::Cycle' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 486 | clock & 0xFF, | ~~~~~~^~~~~~ source/core/NstApu.cpp:487:47: warning: narrowing conversion of '(clock >> 8)' from 'Nes::Core::Cycle' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 487 | clock >> 8, | ~~~~~~^~~~ source/core/NstApu.cpp:488:48: warning: narrowing conversion of '(Nes::word)((const Nes::Core::Apu*)this)->Nes::Core::Apu::cycles.Nes::Core::Apu::Cycles::frameDivider' from 'Nes::word' {aka 'short unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 488 | cycles.frameDivider | ~~~~~~~^~~~~~~~~~~~ source/core/NstApu.cpp:509:47: warning: narrowing conversion of '(clock & 255)' from 'Nes::Core::Cycle' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 509 | clock & 0xFF, | ~~~~~~^~~~~~ source/core/NstApu.cpp:510:47: warning: narrowing conversion of '(clock >> 8)' from 'Nes::Core::Cycle' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 510 | clock >> 8, | ~~~~~~^~~~ source/core/NstApu.cpp:511:63: warning: narrowing conversion of '(int)(((short unsigned int)((int)((const Nes::Core::Apu*)this)->Nes::Core::Apu::cycles.Nes::Core::Apu::Cycles::frameIrqRepeat)) % 3)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 511 | cycles.frameIrqRepeat % 3 | ~~~~~~~~~~~~~~~~~~~~~~^~~ source/core/NstApu.cpp:547:60: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu*)this)->Nes::Core::Apu::cycles.Nes::Core::Apu::Cycles::rateCounter) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 547 | cycles.rateCounter & 0xFFU, | ~~~~~~~~~~~~~~~~~~~^~~~~~~ source/core/NstApu.cpp:548:60: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu*)this)->Nes::Core::Apu::cycles.Nes::Core::Apu::Cycles::rateCounter) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 548 | cycles.rateCounter >> 8, | ~~~~~~~~~~~~~~~~~~~^~~~ source/core/NstApu.cpp:549:60: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu*)this)->Nes::Core::Apu::cycles.Nes::Core::Apu::Cycles::rateCounter) >> 16)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 549 | cycles.rateCounter >> 16, | ~~~~~~~~~~~~~~~~~~~^~~~~ source/core/NstApu.cpp:550:60: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu*)this)->Nes::Core::Apu::cycles.Nes::Core::Apu::Cycles::rateCounter) >> 24)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 550 | cycles.rateCounter >> 24, | ~~~~~~~~~~~~~~~~~~~^~~~~ source/core/NstApu.cpp: In member function 'void Nes::Core::Apu::Channel::Envelope::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/NstApu.cpp:1090:41: warning: narrowing conversion of '(((unsigned int)((int)((const Nes::Core::Apu::Channel::Envelope*)this)->Nes::Core::Apu::Channel::Envelope::regs[0])) | (((bool)((const Nes::Core::Apu::Channel::Envelope*)this)->Nes::Core::Apu::Channel::Envelope::reset) ? 128 : 0))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1090 | regs[0] | (reset ? 0x80U : 0x00U), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstApu.cpp: In member function 'void Nes::Core::Apu::Channel::DcBlocker::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/NstApu.cpp:1183:45: warning: narrowing conversion of '(((unsigned int)((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::acc)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1183 | acc & 0xFFU, | ~~~~^~~~~~~ source/core/NstApu.cpp:1184:45: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::acc) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1184 | acc >> 8, | ~~~~^~~~ source/core/NstApu.cpp:1185:45: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::acc) >> 16)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1185 | acc >> 16, | ~~~~^~~~~ source/core/NstApu.cpp:1186:45: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::acc) >> 24)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1186 | acc >> 24, | ~~~~^~~~~ source/core/NstApu.cpp:1187:46: warning: narrowing conversion of '(((unsigned int)((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::prev)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1187 | prev & 0xFFU, | ~~~~~^~~~~~~ source/core/NstApu.cpp:1188:46: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::prev) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1188 | prev >> 8, | ~~~~~^~~~ source/core/NstApu.cpp:1189:46: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::prev) >> 16)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1189 | prev >> 16, | ~~~~~^~~~~ source/core/NstApu.cpp:1190:46: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::prev) >> 24)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1190 | prev >> 24, | ~~~~~^~~~~ source/core/NstApu.cpp:1191:46: warning: narrowing conversion of '(((unsigned int)((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::next)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1191 | next & 0xFFU, | ~~~~~^~~~~~~ source/core/NstApu.cpp:1192:46: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::next) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1192 | next >> 8, | ~~~~~^~~~ source/core/NstApu.cpp:1193:46: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::next) >> 16)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1193 | next >> 16, | ~~~~~^~~~~ source/core/NstApu.cpp:1194:46: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Channel::DcBlocker*)this)->Nes::Core::Apu::Channel::DcBlocker::next) >> 24)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1194 | next >> 24, | ~~~~~^~~~~ source/core/NstApu.cpp: In member function 'void Nes::Core::Apu::Square::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/NstApu.cpp:1405:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::step' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1405 | step, | ^~~~ source/core/NstApu.cpp:1406:47: warning: narrowing conversion of '(((unsigned int)((int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::timer)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1406 | timer & 0xFFU, | ~~~~~~^~~~~~~ source/core/NstApu.cpp:1407:47: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::timer) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1407 | timer >> 8, | ~~~~~~^~~~ source/core/NstApu.cpp:1408:47: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::timer) >> 16)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1408 | timer >> 16, | ~~~~~~^~~~~ source/core/NstApu.cpp:1409:47: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::timer) >> 24)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1409 | timer >> 24, | ~~~~~~^~~~~ source/core/NstApu.cpp:1410:51: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::frequency) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1410 | frequency & 0xFFU, | ~~~~~~~~~~^~~~~~~ source/core/NstApu.cpp:1411:51: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::frequency) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1411 | frequency >> 8, | ~~~~~~~~~~^~~~ source/core/NstApu.cpp:1412:51: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::frequency) >> 16)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1412 | frequency >> 16, | ~~~~~~~~~~^~~~~ source/core/NstApu.cpp:1413:51: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::frequency) >> 24)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1413 | frequency >> 24, | ~~~~~~~~~~^~~~~ source/core/NstApu.cpp:1414:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::amp) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1414 | amp & 0xFFU, | ~~~~^~~~~~~ source/core/NstApu.cpp:1415:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::amp) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1415 | amp >> 8, | ~~~~^~~~ source/core/NstApu.cpp:1416:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::amp) >> 16)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1416 | amp >> 16, | ~~~~^~~~~ source/core/NstApu.cpp:1417:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Square*)this)->Nes::Core::Apu::Square::.Nes::Core::Apu::Oscillator::amp) >> 24)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1417 | amp >> 24, | ~~~~^~~~~ source/core/NstApu.cpp: In member function 'void Nes::Core::Apu::Triangle::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/NstApu.cpp:1707:52: warning: narrowing conversion of '(unsigned int)(((short unsigned int)((int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::waveLength)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1707 | waveLength & 0xFFU, | ~~~~~~~~~~~^~~~~~~ source/core/NstApu.cpp:1708:52: warning: narrowing conversion of '(int)(((short unsigned int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::waveLength) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1708 | waveLength >> 8, | ~~~~~~~~~~~^~~~ source/core/NstApu.cpp:1709:55: warning: narrowing conversion of '(((Nes::uint)((int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::linearCounter)) | (((Nes::uint)((Nes::Core::Apu::Triangle::Status)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::status)) << 7))' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1709 | linearCounter | (uint(status) << 7), | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ source/core/NstApu.cpp:1721:41: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::step' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1721 | step, | ^~~~ source/core/NstApu.cpp:1722:47: warning: narrowing conversion of '(((unsigned int)((int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::.Nes::Core::Apu::Oscillator::timer)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1722 | timer & 0xFFU, | ~~~~~~^~~~~~~ source/core/NstApu.cpp:1723:47: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::.Nes::Core::Apu::Oscillator::timer) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1723 | timer >> 8, | ~~~~~~^~~~ source/core/NstApu.cpp:1724:47: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::.Nes::Core::Apu::Oscillator::timer) >> 16)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1724 | timer >> 16, | ~~~~~~^~~~~ source/core/NstApu.cpp:1725:47: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::.Nes::Core::Apu::Oscillator::timer) >> 24)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1725 | timer >> 24, | ~~~~~~^~~~~ source/core/NstApu.cpp:1726:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::.Nes::Core::Apu::Oscillator::amp) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1726 | amp & 0xFFU, | ~~~~^~~~~~~ source/core/NstApu.cpp:1727:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::.Nes::Core::Apu::Oscillator::amp) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1727 | amp >> 8, | ~~~~^~~~ source/core/NstApu.cpp:1728:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::.Nes::Core::Apu::Oscillator::amp) >> 16)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1728 | amp >> 16, | ~~~~^~~~~ source/core/NstApu.cpp:1729:45: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Triangle*)this)->Nes::Core::Apu::Triangle::.Nes::Core::Apu::Oscillator::amp) >> 24)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1729 | amp >> 24, | ~~~~^~~~~ source/core/NstApu.cpp: In member function 'void Nes::Core::Apu::Noise::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/NstApu.cpp:1950:46: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Noise*)this)->Nes::Core::Apu::Noise::bits) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1950 | bits & 0xFFU, | ~~~~~^~~~~~~ source/core/NstApu.cpp:1951:46: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Noise*)this)->Nes::Core::Apu::Noise::bits) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1951 | bits >> 8, | ~~~~~^~~~ source/core/NstApu.cpp:1952:47: warning: narrowing conversion of '(((unsigned int)((int)((const Nes::Core::Apu::Noise*)this)->Nes::Core::Apu::Noise::.Nes::Core::Apu::Oscillator::timer)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1952 | timer & 0xFFU, | ~~~~~~^~~~~~~ source/core/NstApu.cpp:1953:47: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Noise*)this)->Nes::Core::Apu::Noise::.Nes::Core::Apu::Oscillator::timer) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1953 | timer >> 8, | ~~~~~~^~~~ source/core/NstApu.cpp:1954:47: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Noise*)this)->Nes::Core::Apu::Noise::.Nes::Core::Apu::Oscillator::timer) >> 16)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1954 | timer >> 16, | ~~~~~~^~~~~ source/core/NstApu.cpp:1955:47: warning: narrowing conversion of '(((int)((const Nes::Core::Apu::Noise*)this)->Nes::Core::Apu::Noise::.Nes::Core::Apu::Oscillator::timer) >> 24)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1955 | timer >> 24 | ~~~~~~^~~~~ source/core/NstApu.cpp: In member function 'void Nes::Core::Apu::Dmc::SaveState(Nes::Core::State::Saver&, Nes::dword, const Nes::Core::Cpu&, Nes::Core::Cycle) const': source/core/NstApu.cpp:2173:50: warning: narrowing conversion of '(dmcClock & 255)' from 'Nes::dword' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2173 | dmcClock & 0xFF, | ~~~~~~~~~^~~~~~ source/core/NstApu.cpp:2174:50: warning: narrowing conversion of '(dmcClock >> 8)' from 'Nes::dword' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2174 | dmcClock >> 8, | ~~~~~~~~~^~~~ source/core/NstApu.cpp:2178:98: warning: narrowing conversion of '((((((unsigned int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::regs.Nes::Core::Apu::Dmc::::ctrl) & ((unsigned int)((int)Nes::Core::Apu::Dmc::REG0_FREQUENCY))) | (((((unsigned int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::regs.Nes::Core::Apu::Dmc::::ctrl) & ((unsigned int)((int)Nes::Core::Apu::Dmc::REG0_LOOP))) != 0) ? 16 : 0)) | (((((unsigned int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::regs.Nes::Core::Apu::Dmc::::ctrl) & ((unsigned int)((int)Nes::Core::Apu::Dmc::REG0_IRQ_ENABLE))) != 0) ? 32 : 0)) | ((((int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::dma.Nes::Core::Apu::Dmc::::lengthCounter) != 0) ? 64 : 0))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2175 | ( | ~ 2176 | ( ( regs.ctrl & REG0_FREQUENCY ) ) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2177 | ( ( regs.ctrl & REG0_LOOP ) ? 0x10U : 0U ) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2178 | ( ( regs.ctrl & REG0_IRQ_ENABLE ) ? 0x20U : 0U ) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2179 | ( ( dma.lengthCounter ) ? 0x40U : 0U ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2180 | ), | ~ source/core/NstApu.cpp:2181:66: warning: narrowing conversion of '((((unsigned int)((int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::regs.Nes::Core::Apu::Dmc::::address)) - 49152) >> 6)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2181 | (regs.address - 0xC000U) >> 6, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ source/core/NstApu.cpp:2182:67: warning: narrowing conversion of '((((unsigned int)((int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::regs.Nes::Core::Apu::Dmc::::lengthCounter)) - 1) >> 4)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2182 | (regs.lengthCounter - 1U) >> 4, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ source/core/NstApu.cpp:2183:59: warning: narrowing conversion of '(((unsigned int)(((int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::dma.Nes::Core::Apu::Dmc::::address) >> 0)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2183 | (dma.address >> 0 & 0xFFU), | ~~~~~~~~~~~~~~~~~~^~~~~~~~ source/core/NstApu.cpp:2184:68: warning: narrowing conversion of '(((unsigned int)(((short unsigned int)((int)(((short unsigned int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::dma.Nes::Core::Apu::Dmc::::address) >> 8))) & 127)) | ((unsigned int)((((int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::dma.Nes::Core::Apu::Dmc::::buffered) != 0) ? 128 : 0)))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2184 | (dma.address >> 8 & 0x7FU) | (dma.buffered ? 0x80 : 0x00), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstApu.cpp:2185:59: warning: narrowing conversion of '((((int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::dma.Nes::Core::Apu::Dmc::::lengthCounter) != 0) ? ((((unsigned int)((int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::dma.Nes::Core::Apu::Dmc::::lengthCounter)) - 1) >> 4) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2185 | dma.lengthCounter ? (dma.lengthCounter - 1U) >> 4 : 0, | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstApu.cpp:2186:45: warning: narrowing conversion of '(Nes::word)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::dma.Nes::Core::Apu::Dmc::::buffer' from 'Nes::word' {aka 'short unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2186 | dma.buffer, | ~~~~^~~~~~ source/core/NstApu.cpp:2187:43: warning: narrowing conversion of '(7 - ((int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::out.Nes::Core::Apu::Dmc::::shifter))' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2187 | 7 - out.shifter, | ~~^~~~~~~~~~~~~ source/core/NstApu.cpp:2198:51: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::linSample) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2198 | linSample & 0xFFU, | ~~~~~~~~~~^~~~~~~ source/core/NstApu.cpp:2199:51: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::linSample) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2199 | linSample >> 8, | ~~~~~~~~~~^~~~ source/core/NstApu.cpp:2200:59: warning: narrowing conversion of '(unsigned int)(((short unsigned int)((int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::dma.Nes::Core::Apu::Dmc::::lengthCounter)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2200 | dma.lengthCounter & 0xFFU, | ~~~~~~~~~~~~~~~~~~^~~~~~~ source/core/NstApu.cpp:2201:59: warning: narrowing conversion of '(int)(((short unsigned int)((const Nes::Core::Apu::Dmc*)this)->Nes::Core::Apu::Dmc::dma.Nes::Core::Apu::Dmc::::lengthCounter) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 2201 | dma.lengthCounter >> 8, | ~~~~~~~~~~~~~~~~~~^~~~ --- source/core/nestopia-NstVideoFilterHqX.o --- CXX source/core/nestopia-NstVideoFilterHqX.o source/core/NstVideoFilterHqX.cpp: In constructor 'Nes::Core::Video::Renderer::FilterHqX::Lut::Lut(bool, const byte (&)[3], Nes::dword*)': source/core/NstVideoFilterHqX.cpp:347:47: warning: narrowing conversion of '(((bool)bpp32) ? 11 : ((int)((Nes::byte)formatShifts[0])))' from 'int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 347 | bpp32 ? 11 : formatShifts[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:348:47: warning: narrowing conversion of '(((bool)bpp32) ? 5 : ((int)((Nes::byte)formatShifts[1])))' from 'int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 348 | bpp32 ? 5 : formatShifts[1], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:349:47: warning: narrowing conversion of '(((bool)bpp32) ? 0 : ((int)((Nes::byte)formatShifts[2])))' from 'int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 349 | bpp32 ? 0 : formatShifts[2] | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp: In instantiation of 'void Nes::Core::Video::Renderer::FilterHqX::Blit2x(const Input&, const Nes::Core::Video::Output&) const [with T = unsigned int; unsigned int R = 16711680; unsigned int G = 65280; unsigned int B = 255; Nes::Core::Video::Renderer::Input = Nes::Core::Video::Screen]': source/core/NstVideoFilterHqX.cpp:389:26: required from here source/core/NstVideoFilterHqX.cpp:171:60: warning: narrowing conversion of '((y < ((Nes::uint)((int)Nes::Core::Video::Renderer::HEIGHT))) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 171 | y < HEIGHT ? WIDTH * sizeof(Input::Pixel) : 0, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:172:60: warning: narrowing conversion of '((y > 1) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 172 | y > 1 ? WIDTH * sizeof(Input::Pixel) : 0 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp: In instantiation of 'void Nes::Core::Video::Renderer::FilterHqX::Blit2x(const Input&, const Nes::Core::Video::Output&) const [with T = short unsigned int; unsigned int R = 63488; unsigned int G = 2016; unsigned int B = 31; Nes::Core::Video::Renderer::Input = Nes::Core::Video::Screen]': source/core/NstVideoFilterHqX.cpp:393:26: required from here source/core/NstVideoFilterHqX.cpp:171:60: warning: narrowing conversion of '((y < ((Nes::uint)((int)Nes::Core::Video::Renderer::HEIGHT))) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 171 | y < HEIGHT ? WIDTH * sizeof(Input::Pixel) : 0, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:172:60: warning: narrowing conversion of '((y > 1) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 172 | y > 1 ? WIDTH * sizeof(Input::Pixel) : 0 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp: In instantiation of 'void Nes::Core::Video::Renderer::FilterHqX::Blit2x(const Input&, const Nes::Core::Video::Output&) const [with T = short unsigned int; unsigned int R = 31744; unsigned int G = 992; unsigned int B = 31; Nes::Core::Video::Renderer::Input = Nes::Core::Video::Screen]': source/core/NstVideoFilterHqX.cpp:397:26: required from here source/core/NstVideoFilterHqX.cpp:171:60: warning: narrowing conversion of '((y < ((Nes::uint)((int)Nes::Core::Video::Renderer::HEIGHT))) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 171 | y < HEIGHT ? WIDTH * sizeof(Input::Pixel) : 0, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:172:60: warning: narrowing conversion of '((y > 1) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 172 | y > 1 ? WIDTH * sizeof(Input::Pixel) : 0 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp: In instantiation of 'void Nes::Core::Video::Renderer::FilterHqX::Blit3x(const Input&, const Nes::Core::Video::Output&) const [with T = unsigned int; unsigned int R = 16711680; unsigned int G = 65280; unsigned int B = 255; Nes::Core::Video::Renderer::Input = Nes::Core::Video::Screen]': source/core/NstVideoFilterHqX.cpp:404:26: required from here source/core/NstVideoFilterHqX.cpp:230:60: warning: narrowing conversion of '((y < ((Nes::uint)((int)Nes::Core::Video::Renderer::HEIGHT))) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 230 | y < HEIGHT ? WIDTH * sizeof(Input::Pixel) : 0, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:231:60: warning: narrowing conversion of '((y > 1) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 231 | y > 1 ? WIDTH * sizeof(Input::Pixel) : 0 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp: In instantiation of 'void Nes::Core::Video::Renderer::FilterHqX::Blit3x(const Input&, const Nes::Core::Video::Output&) const [with T = short unsigned int; unsigned int R = 63488; unsigned int G = 2016; unsigned int B = 31; Nes::Core::Video::Renderer::Input = Nes::Core::Video::Screen]': source/core/NstVideoFilterHqX.cpp:408:26: required from here source/core/NstVideoFilterHqX.cpp:230:60: warning: narrowing conversion of '((y < ((Nes::uint)((int)Nes::Core::Video::Renderer::HEIGHT))) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 230 | y < HEIGHT ? WIDTH * sizeof(Input::Pixel) : 0, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:231:60: warning: narrowing conversion of '((y > 1) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 231 | y > 1 ? WIDTH * sizeof(Input::Pixel) : 0 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp: In instantiation of 'void Nes::Core::Video::Renderer::FilterHqX::Blit3x(const Input&, const Nes::Core::Video::Output&) const [with T = short unsigned int; unsigned int R = 31744; unsigned int G = 992; unsigned int B = 31; Nes::Core::Video::Renderer::Input = Nes::Core::Video::Screen]': source/core/NstVideoFilterHqX.cpp:412:26: required from here source/core/NstVideoFilterHqX.cpp:230:60: warning: narrowing conversion of '((y < ((Nes::uint)((int)Nes::Core::Video::Renderer::HEIGHT))) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 230 | y < HEIGHT ? WIDTH * sizeof(Input::Pixel) : 0, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:231:60: warning: narrowing conversion of '((y > 1) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 231 | y > 1 ? WIDTH * sizeof(Input::Pixel) : 0 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp: In instantiation of 'void Nes::Core::Video::Renderer::FilterHqX::Blit4x(const Input&, const Nes::Core::Video::Output&) const [with T = unsigned int; unsigned int R = 16711680; unsigned int G = 65280; unsigned int B = 255; Nes::Core::Video::Renderer::Input = Nes::Core::Video::Screen]': source/core/NstVideoFilterHqX.cpp:419:26: required from here source/core/NstVideoFilterHqX.cpp:292:60: warning: narrowing conversion of '((y < ((Nes::uint)((int)Nes::Core::Video::Renderer::HEIGHT))) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 292 | y < HEIGHT ? WIDTH * sizeof(Input::Pixel) : 0, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:293:60: warning: narrowing conversion of '((y > 1) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 293 | y > 1 ? WIDTH * sizeof(Input::Pixel) : 0 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp: In instantiation of 'void Nes::Core::Video::Renderer::FilterHqX::Blit4x(const Input&, const Nes::Core::Video::Output&) const [with T = short unsigned int; unsigned int R = 63488; unsigned int G = 2016; unsigned int B = 31; Nes::Core::Video::Renderer::Input = Nes::Core::Video::Screen]': source/core/NstVideoFilterHqX.cpp:423:26: required from here source/core/NstVideoFilterHqX.cpp:292:60: warning: narrowing conversion of '((y < ((Nes::uint)((int)Nes::Core::Video::Renderer::HEIGHT))) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 292 | y < HEIGHT ? WIDTH * sizeof(Input::Pixel) : 0, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:293:60: warning: narrowing conversion of '((y > 1) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 293 | y > 1 ? WIDTH * sizeof(Input::Pixel) : 0 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp: In instantiation of 'void Nes::Core::Video::Renderer::FilterHqX::Blit4x(const Input&, const Nes::Core::Video::Output&) const [with T = short unsigned int; unsigned int R = 31744; unsigned int G = 992; unsigned int B = 31; Nes::Core::Video::Renderer::Input = Nes::Core::Video::Screen]': source/core/NstVideoFilterHqX.cpp:427:26: required from here source/core/NstVideoFilterHqX.cpp:292:60: warning: narrowing conversion of '((y < ((Nes::uint)((int)Nes::Core::Video::Renderer::HEIGHT))) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 292 | y < HEIGHT ? WIDTH * sizeof(Input::Pixel) : 0, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstVideoFilterHqX.cpp:293:60: warning: narrowing conversion of '((y > 1) ? (((long unsigned int)((int)Nes::Core::Video::Renderer::WIDTH)) * sizeof (Nes::Core::Video::Screen::Pixel)) : 0)' from 'long unsigned int' to 'Nes::uint' {aka 'unsigned int'} [-Wnarrowing] 293 | y > 1 ? WIDTH * sizeof(Input::Pixel) : 0 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- source/core/nestopia-NstSha1.o --- CXX source/core/nestopia-NstSha1.o --- source/core/nestopia-NstRam.o --- CXX source/core/nestopia-NstRam.o --- source/core/nestopia-NstState.o --- CXX source/core/nestopia-NstState.o --- source/core/vssystem/nestopia-NstVsSuperXevious.o --- CXX source/core/vssystem/nestopia-NstVsSuperXevious.o --- source/core/vssystem/nestopia-NstVsRbiBaseball.o --- CXX source/core/vssystem/nestopia-NstVsRbiBaseball.o --- source/core/vssystem/nestopia-NstVsTkoBoxing.o --- CXX source/core/vssystem/nestopia-NstVsTkoBoxing.o --- source/core/vssystem/nestopia-NstVsSystem.o --- CXX source/core/vssystem/nestopia-NstVsSystem.o --- source/core/nestopia-NstVideoScreen.o --- CXX source/core/nestopia-NstVideoScreen.o --- source/core/nestopia-NstCheats.o --- CXX source/core/nestopia-NstCheats.o --- source/core/nestopia-NstHomebrew.o --- CXX source/core/nestopia-NstHomebrew.o --- source/core/nestopia-NstZlib.o --- CXX source/core/nestopia-NstZlib.o --- source/core/nestopia-NstCartridgeUnif.o --- CXX source/core/nestopia-NstCartridgeUnif.o source/core/NstCartridgeUnif.cpp: In static member function 'static const char* Nes::Core::Cartridge::Unif::Loader::ChunkName(char (&)[5], Nes::dword)': source/core/NstCartridgeUnif.cpp:741:42: warning: narrowing conversion of '((((unsigned int)id) >> 0) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 741 | id >> 0 & 0xFF, | ~~~~~~~~~^~~~~~ source/core/NstCartridgeUnif.cpp:742:42: warning: narrowing conversion of '((((unsigned int)id) >> 8) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 742 | id >> 8 & 0xFF, | ~~~~~~~~~^~~~~~ source/core/NstCartridgeUnif.cpp:743:42: warning: narrowing conversion of '((((unsigned int)id) >> 16) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 743 | id >> 16 & 0xFF, | ~~~~~~~~~^~~~~~ source/core/NstCartridgeUnif.cpp:744:42: warning: narrowing conversion of '((((unsigned int)id) >> 24) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 744 | id >> 24 & 0xFF, | ~~~~~~~~~^~~~~~ --- source/core/nestopia-NstCore.o --- CXX source/core/nestopia-NstCore.o --- source/core/nestopia-NstImage.o --- CXX source/core/nestopia-NstImage.o --- source/core/nestopia-NstVideoFilter2xSaI.o --- CXX source/core/nestopia-NstVideoFilter2xSaI.o --- source/core/nestopia-NstMemory.o --- CXX source/core/nestopia-NstMemory.o --- source/core/nestopia-NstImageDatabase.o --- CXX source/core/nestopia-NstImageDatabase.o --- source/core/nestopia-NstMachine.o --- CXX source/core/nestopia-NstMachine.o --- source/core/nestopia-NstPins.o --- CXX source/core/nestopia-NstPins.o --- source/core/nestopia-NstPpu.o --- CXX source/core/nestopia-NstPpu.o source/core/NstPpu.cpp: In member function 'void Nes::Core::Ppu::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/NstPpu.cpp:317:52: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::regs.Nes::Core::Ppu::Regs::ctrl[0]' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 317 | regs.ctrl[0], | ~~~~~~~~~~~^ source/core/NstPpu.cpp:318:52: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::regs.Nes::Core::Ppu::Regs::ctrl[1]' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 318 | regs.ctrl[1], | ~~~~~~~~~~~^ source/core/NstPpu.cpp:319:46: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::regs.Nes::Core::Ppu::Regs::status' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 319 | regs.status, | ~~~~~^~~~~~ source/core/NstPpu.cpp:320:56: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::scroll.Nes::Core::Ppu::Scroll::address) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 320 | scroll.address & 0xFF, | ~~~~~~~~~~~~~~~^~~~~~ source/core/NstPpu.cpp:321:56: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::scroll.Nes::Core::Ppu::Scroll::address) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 321 | scroll.address >> 8, | ~~~~~~~~~~~~~~~^~~~ source/core/NstPpu.cpp:322:54: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::scroll.Nes::Core::Ppu::Scroll::latch) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 322 | scroll.latch & 0xFF, | ~~~~~~~~~~~~~^~~~~~ source/core/NstPpu.cpp:323:54: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::scroll.Nes::Core::Ppu::Scroll::latch) >> 8)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 323 | scroll.latch >> 8, | ~~~~~~~~~~~~~^~~~ source/core/NstPpu.cpp:324:54: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::scroll.Nes::Core::Ppu::Scroll::xFine) | (((unsigned int)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::scroll.Nes::Core::Ppu::Scroll::toggle) << 3))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 324 | scroll.xFine | scroll.toggle << 3, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ source/core/NstPpu.cpp:325:46: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::regs.Nes::Core::Ppu::Regs::oam' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 325 | regs.oam, | ~~~~~^~~ source/core/NstPpu.cpp:326:44: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::io.Nes::Core::Ppu::Io::buffer' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 326 | io.buffer, | ~~~^~~~~~ source/core/NstPpu.cpp:327:44: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Ppu*)this)->Nes::Core::Ppu::io.Nes::Core::Ppu::Io::latch' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 327 | io.latch | ~~~^~~~~ --- source/core/nestopia-NstTrackerMovie.o --- CXX source/core/nestopia-NstTrackerMovie.o --- source/core/nestopia-NstPatcher.o --- CXX source/core/nestopia-NstPatcher.o --- source/core/api/nestopia-NstApiVideo.o --- CXX source/core/api/nestopia-NstApiVideo.o --- source/core/api/nestopia-NstApiCheats.o --- CXX source/core/api/nestopia-NstApiCheats.o source/core/api/NstApiCheats.cpp: In static member function 'static Nes::Result Nes::Api::Cheats::GameGenieEncode(const Nes::Api::Cheats::Code&, char (&)[9])': source/core/api/NstApiCheats.cpp:46:61: warning: narrowing conversion of '((((unsigned int)(((int)code.Nes::Api::Cheats::Code::value) >> 0)) & 7) | ((unsigned int)(((unsigned char)((int)(((unsigned char)code.Nes::Api::Cheats::Code::value) >> 4))) & 8)))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 46 | (code.value >> 0 & 0x7U) | (code.value >> 4 & 0x8U), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/api/NstApiCheats.cpp:47:61: warning: narrowing conversion of '(((unsigned int)(((unsigned char)((int)(((unsigned char)code.Nes::Api::Cheats::Code::value) >> 4))) & 7)) | ((unsigned int)(((short unsigned int)((int)(((short unsigned int)code.Nes::Api::Cheats::Code::address) >> 4))) & 8)))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 47 | (code.value >> 4 & 0x7U) | (code.address >> 4 & 0x8U), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/api/NstApiCheats.cpp:48:61: warning: narrowing conversion of '(((unsigned int)(((short unsigned int)((int)(((short unsigned int)code.Nes::Api::Cheats::Code::address) >> 4))) & 7)) | (((bool)code.Nes::Api::Cheats::Code::useCompare) ? 8 : 0))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 48 | (code.address >> 4 & 0x7U) | (code.useCompare ? 0x8U : 0x0U), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/api/NstApiCheats.cpp:49:61: warning: narrowing conversion of '(((unsigned int)(((short unsigned int)((int)(((short unsigned int)code.Nes::Api::Cheats::Code::address) >> 12))) & 7)) | (((unsigned int)(((int)code.Nes::Api::Cheats::Code::address) >> 0)) & 8))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 49 | (code.address >> 12 & 0x7U) | (code.address >> 0 & 0x8U), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/api/NstApiCheats.cpp:50:61: warning: narrowing conversion of '((((unsigned int)(((int)code.Nes::Api::Cheats::Code::address) >> 0)) & 7) | ((unsigned int)(((short unsigned int)((int)(((short unsigned int)code.Nes::Api::Cheats::Code::address) >> 8))) & 8)))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 50 | (code.address >> 0 & 0x7U) | (code.address >> 8 & 0x8U), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/api/NstApiCheats.cpp:51:61: warning: narrowing conversion of '(((unsigned int)(((short unsigned int)((int)(((short unsigned int)code.Nes::Api::Cheats::Code::address) >> 8))) & 7)) | (((unsigned int)((int)(((bool)code.Nes::Api::Cheats::Code::useCompare) ? code.Nes::Api::Cheats::Code::compare : code.Nes::Api::Cheats::Code::value))) & 8))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 51 | (code.address >> 8 & 0x7U) | ((code.useCompare ? code.compare : code.value) & 0x8U), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/api/NstApiCheats.cpp:52:50: warning: narrowing conversion of '(((bool)code.Nes::Api::Cheats::Code::useCompare) ? ((((unsigned int)(((int)code.Nes::Api::Cheats::Code::compare) >> 0)) & 7) | ((unsigned int)(((unsigned char)((int)(((unsigned char)code.Nes::Api::Cheats::Code::compare) >> 4))) & 8))) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 52 | (code.useCompare ? ((code.compare >> 0 & 0x7U) | (code.compare >> 4 & 0x8U)) : 0), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/api/NstApiCheats.cpp:53:50: warning: narrowing conversion of '(((bool)code.Nes::Api::Cheats::Code::useCompare) ? (((unsigned int)(((unsigned char)((int)(((unsigned char)code.Nes::Api::Cheats::Code::compare) >> 4))) & 7)) | (((unsigned int)(((int)code.Nes::Api::Cheats::Code::value) >> 0)) & 8)) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 53 | (code.useCompare ? ((code.compare >> 4 & 0x7U) | (code.value >> 0 & 0x8U)) : 0) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- source/core/api/nestopia-NstApiHomebrew.o --- CXX source/core/api/nestopia-NstApiHomebrew.o --- source/core/api/nestopia-NstApiCartridge.o --- CXX source/core/api/nestopia-NstApiCartridge.o --- source/core/api/nestopia-NstApiMovie.o --- CXX source/core/api/nestopia-NstApiMovie.o --- source/core/api/nestopia-NstApiTapeRecorder.o --- CXX source/core/api/nestopia-NstApiTapeRecorder.o --- source/core/api/nestopia-NstApiEmulator.o --- CXX source/core/api/nestopia-NstApiEmulator.o --- source/core/api/nestopia-NstApiRewinder.o --- CXX source/core/api/nestopia-NstApiRewinder.o --- source/core/api/nestopia-NstApiNsf.o --- CXX source/core/api/nestopia-NstApiNsf.o --- source/core/api/nestopia-NstApiFds.o --- CXX source/core/api/nestopia-NstApiFds.o --- source/core/api/nestopia-NstApiMachine.o --- CXX source/core/api/nestopia-NstApiMachine.o --- source/core/api/nestopia-NstApiDipSwitches.o --- CXX source/core/api/nestopia-NstApiDipSwitches.o --- source/core/api/nestopia-NstApiUser.o --- CXX source/core/api/nestopia-NstApiUser.o --- source/core/api/nestopia-NstApiBarcodeReader.o --- CXX source/core/api/nestopia-NstApiBarcodeReader.o --- source/core/api/nestopia-NstApiInput.o --- CXX source/core/api/nestopia-NstApiInput.o --- source/core/api/nestopia-NstApiSound.o --- CXX source/core/api/nestopia-NstApiSound.o --- source/core/nestopia-NstFds.o --- CXX source/core/nestopia-NstFds.o source/core/NstFds.cpp: In member function 'virtual void Nes::Core::Fds::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/NstFds.cpp:490:53: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Fds*)this)->Nes::Core::Fds::disks.Nes::Core::Fds::Disks::sides.Nes::Core::Fds::Disks::Sides::count' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 490 | disks.sides.count, | ~~~~~~~~~~~~^~~~~ source/core/NstFds.cpp:491:75: warning: narrowing conversion of '((((int)((const Nes::Core::Fds*)this)->Nes::Core::Fds::disks.Nes::Core::Fds::Disks::current) != ((int)Nes::Core::Fds::Disks::EJECTED)) | (((bool)((const Nes::Core::Fds*)this)->Nes::Core::Fds::disks.Nes::Core::Fds::Disks::writeProtected) ? 2 : 0))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 491 | (disks.current != Disks::EJECTED) | (disks.writeProtected ? 0x2U : 0x0U), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:492:73: warning: narrowing conversion of '((((int)((const Nes::Core::Fds*)this)->Nes::Core::Fds::disks.Nes::Core::Fds::Disks::current) != ((int)Nes::Core::Fds::Disks::EJECTED)) ? ((int)((Nes::word)((const Nes::Core::Fds*)this)->Nes::Core::Fds::disks.Nes::Core::Fds::Disks::current)) : 255)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 492 | disks.current != Disks::EJECTED ? disks.current : 0xFF, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:493:73: warning: narrowing conversion of '((((int)((const Nes::Core::Fds*)this)->Nes::Core::Fds::disks.Nes::Core::Fds::Disks::current) != ((int)Nes::Core::Fds::Disks::EJECTED)) ? ((int)((Nes::byte)((const Nes::Core::Fds*)this)->Nes::Core::Fds::disks.Nes::Core::Fds::Disks::mounting)) : 0)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 493 | disks.current != Disks::EJECTED ? disks.mounting : 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp: In member function 'void Nes::Core::Fds::Adapter::SaveState(Nes::Core::State::Saver&) const': source/core/NstFds.cpp:1238:52: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::timer.Nes::Core::Fds::Unit::Timer::ctrl' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1238 | unit.timer.ctrl, | ~~~~~~~~~~~^~~~ source/core/NstFds.cpp:1239:46: warning: narrowing conversion of '(Nes::uint)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::status' from 'Nes::uint' {aka 'unsigned int'} to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1239 | unit.status, | ~~~~~^~~~~~ source/core/NstFds.cpp:1240:58: warning: narrowing conversion of '(unsigned int)(((short unsigned int)((int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::timer.Nes::Core::Fds::Unit::Timer::latch)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1240 | unit.timer.latch & 0xFFU, | ~~~~~~~~~~~~~~~~~^~~~~~~ source/core/NstFds.cpp:1241:58: warning: narrowing conversion of '(int)(((short unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::timer.Nes::Core::Fds::Unit::Timer::latch) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1241 | unit.timer.latch >> 8, | ~~~~~~~~~~~~~~~~~^~~~ source/core/NstFds.cpp:1242:58: warning: narrowing conversion of '(unsigned int)(((short unsigned int)((int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::timer.Nes::Core::Fds::Unit::Timer::count)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1242 | unit.timer.count & 0xFFU, | ~~~~~~~~~~~~~~~~~^~~~~~~ source/core/NstFds.cpp:1243:58: warning: narrowing conversion of '(int)(((short unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::timer.Nes::Core::Fds::Unit::Timer::count) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1243 | unit.timer.count >> 8, | ~~~~~~~~~~~~~~~~~^~~~ source/core/NstFds.cpp:1257:55: warning: narrowing conversion of '(unsigned int)(((short unsigned int)((int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::in)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1257 | unit.drive.in & 0xFFU, | ~~~~~~~~~~~~~~^~~~~~~ source/core/NstFds.cpp:1259:58: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) != 0) ? (((unsigned int)headPos) & 255) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1259 | unit.drive.count ? headPos & 0xFF : 0, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1260:58: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) != 0) ? (((unsigned int)headPos) >> 8) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1260 | unit.drive.count ? headPos >> 8 : 0, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1261:58: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) != 0) ? ((unsigned int)(((short unsigned int)((int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::dataPos)) & 255)) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1261 | unit.drive.count ? unit.drive.dataPos & 0xFFU : 0, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1262:58: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) != 0) ? ((int)(((short unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::dataPos) >> 8)) : 0)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1262 | unit.drive.count ? unit.drive.dataPos >> 8 : 0, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1263:58: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) != 0) ? ((unsigned int)(((short unsigned int)((int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::gap)) & 255)) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1263 | unit.drive.count ? unit.drive.gap & 0xFFU : 0, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1264:58: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) != 0) ? ((int)(((short unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::gap) >> 8)) : 0)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1264 | unit.drive.count ? unit.drive.gap >> 8 : 0, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1265:58: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) != 0) ? ((unsigned int)(((short unsigned int)((int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::length)) & 255)) : 0)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1265 | unit.drive.count ? unit.drive.length & 0xFFU : 0, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1266:58: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) != 0) ? ((int)(((short unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::length) >> 8)) : 0)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1266 | unit.drive.count ? unit.drive.length >> 8 : 0, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1267:63: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) >> 0) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1267 | unit.drive.count >> 0 & 0xFF, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ source/core/NstFds.cpp:1268:63: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) >> 8) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1268 | unit.drive.count >> 8 & 0xFF, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ source/core/NstFds.cpp:1269:58: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::count) >> 16)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1269 | unit.drive.count >> 16, | ~~~~~~~~~~~~~~~~~^~~~~ source/core/NstFds.cpp:1270:55: warning: narrowing conversion of '(int)(((short unsigned int)((const Nes::Core::Fds::Adapter*)this)->Nes::Core::Fds::Adapter::.Nes::Core::Timer::M2::unit.Nes::Core::Fds::Unit::drive.Nes::Core::Fds::Unit::Drive::in) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1270 | unit.drive.in >> 8 | ~~~~~~~~~~~~~~^~~~ source/core/NstFds.cpp: In member function 'void Nes::Core::Fds::Sound::SaveState(Nes::Core::State::Saver&, Nes::dword) const': source/core/NstFds.cpp:1673:117: warning: narrowing conversion of '((((((unsigned int)((const Nes::Core::Fds::Sound*)this)->Nes::Core::Fds::Sound::status) & ((unsigned int)((int)Nes::Core::Fds::Sound::STATUS_OUTPUT_ENABLED))) != 0) ? 0 : ((Nes::uint)Nes::Core::Fds::Sound::REG3_OUTPUT_DISABLE)) | (((((unsigned int)((const Nes::Core::Fds::Sound*)this)->Nes::Core::Fds::Sound::status) & ((unsigned int)((int)Nes::Core::Fds::Sound::STATUS_ENVELOPES_ENABLED))) != 0) ? 0 : ((Nes::uint)Nes::Core::Fds::Sound::REG3_ENVELOPE_DISABLE)))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1673 | ((status & STATUS_OUTPUT_ENABLED) ? 0U : uint(REG3_OUTPUT_DISABLE)) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1674 | ((status & STATUS_ENVELOPES_ENABLED) ? 0U : uint(REG3_ENVELOPE_DISABLE)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1675:62: warning: narrowing conversion of '(((bool)((const Nes::Core::Fds::Sound*)this)->Nes::Core::Fds::Sound::wave.Nes::Core::Fds::Sound::Wave::writing) ? ((int)Nes::Core::Fds::Sound::REG9_WRITE_MODE) : 0)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1675 | wave.writing ? REG9_WRITE_MODE : 0, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ source/core/NstFds.cpp:1676:61: warning: narrowing conversion of '(unsigned int)(((short unsigned int)((int)((const Nes::Core::Fds::Sound*)this)->Nes::Core::Fds::Sound::wave.Nes::Core::Fds::Sound::Wave::length)) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1676 | wave.length & 0xFFU, | ~~~~~~~~~~~~^~~~~~~ source/core/NstFds.cpp:1677:61: warning: narrowing conversion of '(int)(((short unsigned int)((const Nes::Core::Fds::Sound*)this)->Nes::Core::Fds::Sound::wave.Nes::Core::Fds::Sound::Wave::length) >> 8)' from 'int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1677 | wave.length >> 8, | ~~~~~~~~~~~~^~~~ source/core/NstFds.cpp:1707:66: warning: narrowing conversion of '(((unsigned int)((const Nes::Core::Fds::Sound*)this)->Nes::Core::Fds::Sound::modulator.Nes::Core::Fds::Sound::Modulator::length) & 255)' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1707 | modulator.length & 0xFF, | ~~~~~~~~~~~~~~~~~^~~~~~ source/core/NstFds.cpp:1708:71: warning: narrowing conversion of '((((unsigned int)((const Nes::Core::Fds::Sound*)this)->Nes::Core::Fds::Sound::modulator.Nes::Core::Fds::Sound::Modulator::length) >> 8) | ((unsigned int)(((bool)((const Nes::Core::Fds::Sound*)this)->Nes::Core::Fds::Sound::modulator.Nes::Core::Fds::Sound::Modulator::writing) ? ((int)Nes::Core::Fds::Sound::REG7_MOD_WRITE_MODE) : 0)))' from 'unsigned int' to 'Nes::byte' {aka 'unsigned char'} [-Wnarrowing] 1708 | modulator.length >> 8 | (modulator.writing ? REG7_MOD_WRITE_MODE : 0), | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- source/core/nestopia-NstVideoFilterScaleX.o --- CXX source/core/nestopia-NstVideoFilterScaleX.o --- source/core/nestopia-NstNsf.o --- CXX source/core/nestopia-NstNsf.o --- source/core/nestopia-NstSoundPcm.o --- CXX source/core/nestopia-NstSoundPcm.o source/core/NstSoundPcm.cpp:107:1: fatal error: closing dependency file source/core/.deps/nestopia-NstSoundPcm.Tpo: No space left on device 107 | } | ^ compilation terminated. {standard input}: Assembler messages: {standard input}: Fatal error: can't write 25 bytes to section .text of source/core/nestopia-NstSoundPcm.o: 'No space left on device' {standard input}: Fatal error: can't close source/core/nestopia-NstSoundPcm.o: No space left on device *** [source/core/nestopia-NstSoundPcm.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/emulators/nestopia/work/nestopia-1.50 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/emulators/nestopia/work/nestopia-1.50 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/nestopia *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/nestopia