diff --git a/src/THcHodoscope.cxx b/src/THcHodoscope.cxx index a198c1fb3182b3b0bda2af922f3e4b551f01b800..bc5a6d8b8dccbaffde7f4732cf0de85734734615 100644 --- a/src/THcHodoscope.cxx +++ b/src/THcHodoscope.cxx @@ -363,7 +363,7 @@ Int_t THcHodoscope::ReadDatabase( const TDatime& date ) gHcParms->LoadParmValues((DBRequest*)&list,prefix); if(fDumpTOF) { - fDumpOut.open(fTOFDumpFile); + fDumpOut.open(fTOFDumpFile.c_str()); if(fDumpOut.is_open()) { fDumpOut << "Hodoscope Time of Flight calibration data" << endl; } else {