Fix for coverity
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Feb 2011 10:40:52 +0000 (10:40 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Feb 2011 10:40:52 +0000 (10:40 +0000)
TOF/AliTOFDDLRawData.cxx

index 76160c5..77d447f 100644 (file)
@@ -172,8 +172,8 @@ Int_t AliTOFDDLRawData::RawDataTOF(TBranch* branch)
 
   fTOFdigitArray = * (TClonesArray**) branch->GetAddress();
 
-  const Int_t kDimension=100;
-  char fileName[kDimension];
+  const Int_t kDimension=16;
+  char fileName[kDimension-1];
   AliFstream* outfile;      // logical name of the output file 
 
   //AliRawDataHeader header;