Index: src/qsamplerChannel.cpp =================================================================== RCS file: /var/cvs/linuxsampler/qsampler/src/qsamplerChannel.cpp,v retrieving revision 1.22 diff -U3 -r1.22 qsamplerChannel.cpp --- src/qsamplerChannel.cpp 8 May 2005 17:04:10 -0000 1.22 +++ src/qsamplerChannel.cpp 29 Jul 2005 11:11:17 -0000 @@ -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();