Author: sagamusix
Date: Sun Jun 23 11:35:43 2024
New Revision: 21054
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21054
Log:
[Ref] Silenece warning.
Modified:
trunk/OpenMPT/soundlib/Load_cba.cpp
Modified: trunk/OpenMPT/soundlib/Load_cba.cpp
==============================================================================
--- trunk/OpenMPT/soundlib/Load_cba.cpp Sat Jun 22 23:00:03 2024 (r21053)
+++ trunk/OpenMPT/soundlib/Load_cba.cpp Sun Jun 23 11:35:43 2024 (r21054)
@@ -145,7 +145,7 @@
else if(command == 0x18)
m.SetEffectCommand(CMD_RETRIG, param);
else if(command >= 0x10 && command <= 0x1E)
- m.SetEffectCommand(CMD_MODCMDEX, ((command << 4) + 0x10) | std::min(param ,uint8(0x0F)));
+ m.SetEffectCommand(CMD_MODCMDEX, static_cast<ModCommand::PARAM>(((command << 4) + 0x10) | std::min(param ,uint8(0x0F))));
else if(command == 0x1F)
m.SetEffectCommand(CMD_SPEED, param);
else if(command == 0x20)
|