]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected size of a string (icc)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Feb 2007 15:19:44 +0000 (15:19 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Feb 2007 15:19:44 +0000 (15:19 +0000)
T0/AliT0v1.cxx

index a899f4bf42360380d9973b24ac25b72e078c227a..f4ad05c8c6e743c0d0c246707130f5faeb482b1a 100644 (file)
@@ -249,7 +249,7 @@ void AliT0v1::CreateGeometry()
     TGeoTube*hole = new TGeoTube("hole", 0, 1.61, 6.5);
     TGeoTranslation *tr [12];
     Float_t angle  = 2 * TMath::Pi() / 12;
-    Char_t nameTr[4];
+    Char_t nameTr[40];
     for (Int_t itr=0; itr<12; itr++) {
       sprintf (nameTr,"tr%i",itr+1);
       x = 6.5 * TMath::Sin(itr * angle);