From a5b4d9d9a98c1dba03f4c492496f7bff9fc4c4ef Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Wed, 20 Jun 2018 01:28:55 +0300 Subject: [PATCH] ADLMIDI: Fix one small MSVC Win64 warning --- src/sound/adlmidi/adlmidi_opl3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/adlmidi/adlmidi_opl3.cpp b/src/sound/adlmidi/adlmidi_opl3.cpp index 49e2e76c5a..5d15d002ca 100644 --- a/src/sound/adlmidi/adlmidi_opl3.cpp +++ b/src/sound/adlmidi/adlmidi_opl3.cpp @@ -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);