Fix to avoid warnings
authorsma <sma@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Sep 2010 21:34:19 +0000 (21:34 +0000)
committersma <sma@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Sep 2010 21:34:19 +0000 (21:34 +0000)
PWG3/hfe/AliHFEpidQA.cxx

index a109d0e..f0bdf82 100644 (file)
@@ -517,7 +517,7 @@ void AliHFEpidQA::FillElectronLikelihoods(TObjArray * const particles, Int_t spe
   // pion and proton efficiency and the thresholds
   //
   Long_t status = 0;
-  Char_t *detname[4] = {"ITS", "TPC", "TRD", "TOF"};
+  const Char_t *detname[4] = {"ITS", "TPC", "TRD", "TOF"};
   Char_t specname[256];
 
   switch(species){