ADLMIDI: Fix one small MSVC Win64 warning

This commit is contained in:
Vitaly Novichkov 2018-06-20 01:28:55 +03:00 committed by Christoph Oelckers
parent ceec12056a
commit a5b4d9d9a9

View file

@ -545,7 +545,7 @@ void OPL3::Reset(int emulator, unsigned long PCM_RATE, void *audioTickHandler)
#endif
}
cardsOP2[i].reset(chip);
chip->setChipId(i);
chip->setChipId((uint32_t)i);
chip->setRate((uint32_t)PCM_RATE);
if(runAtPcmRate)
chip->setRunningAtPcmRate(true);