--- qsampler/trunk/src/qsamplerChannel.cpp 2005/08/16 09:48:42 735 +++ qsampler/trunk/src/qsamplerChannel.cpp 2005/08/16 10:19:25 736 @@ -602,7 +602,7 @@ if (isInstrumentFile(sInstrumentFile)) { #ifdef CONFIG_LIBGIG if (bInstrumentNames) { - RIFF::File *pRiff = new RIFF::File(sInstrumentFile); + RIFF::File *pRiff = new RIFF::File((const RIFF::String&) sInstrumentFile); gig::File *pGig = new gig::File(pRiff); gig::Instrument *pInstrument = pGig->GetFirstInstrument(); while (pInstrument) { @@ -633,7 +633,7 @@ sInstrumentName = QFileInfo(sInstrumentFile).fileName(); #ifdef CONFIG_LIBGIG if (bInstrumentNames) { - RIFF::File *pRiff = new RIFF::File(sInstrumentFile); + RIFF::File *pRiff = new RIFF::File((const RIFF::String&) sInstrumentFile); gig::File *pGig = new gig::File(pRiff); int iIndex = 0; gig::Instrument *pInstrument = pGig->GetFirstInstrument();