From: <sv...@op...> - 2024-06-29 12:13:07
|
Author: sagamusix Date: Sat Jun 29 14:12:55 2024 New Revision: 21111 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21111 Log: [Fix] Compile fix for test suite. Modified: trunk/OpenMPT/test/test.cpp Modified: trunk/OpenMPT/test/test.cpp ============================================================================== --- trunk/OpenMPT/test/test.cpp Sat Jun 29 14:08:57 2024 (r21110) +++ trunk/OpenMPT/test/test.cpp Sat Jun 29 14:12:55 2024 (r21111) @@ -4057,7 +4057,7 @@ FileReader file; std::unique_ptr<CSoundFile> pSndFile = std::make_unique<CSoundFile>(); CSoundFile &sndFile = *pSndFile.get(); - sndFile.m_nType = MOD_TYPE_MPT; + sndFile.ChangeModTypeTo(MOD_TYPE_MPT, false); sndFile.Patterns.DestroyPatterns(); sndFile.ChnSettings.resize(ModSpecs::mptm.channelsMax); |