]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliRun.cxx
Syntax corrections for HP-UX
[u/mrichter/AliRoot.git] / STEER / AliRun.cxx
index 55039542bca45338a1a67914e12602bb965e050a..15b5b24ee4acb3e2dcb2eeba5068e4fefd12b0c5 100644 (file)
@@ -368,8 +368,8 @@ void AliRun::FinishPrimary()
   // Called  at the end of each primary track
   //
   
-  static Int_t count=0;
-  const Int_t times=10;
+  //  static Int_t count=0;
+  //  const Int_t times=10;
   // This primary is finished, purify stack
   gAlice->PurifyKine();
 
@@ -1407,7 +1407,7 @@ void AliRun::StepManager(Int_t id) const
 }
 
 //_____________________________________________________________________________
-void AliRun::ReadEuclid(const char* filnam, const AliModule *det, const char* topvol)
+void AliRun::ReadEuclid(const char* filnam, const AliModule *det, char* topvol)
 {
   //                                                                     
   //       read in the geometry of the detector in euclid file format    
@@ -1530,7 +1530,7 @@ void AliRun::ReadEuclid(const char* filnam, const AliModule *det, const char* to
       printf(" *** GREUCL *** warning: %s is another possible top volume\n",volst[i]);
     }
     if (istop[i] && !flag) {
-      topvol=volst[i];
+      strcpy(topvol,volst[i]);
       printf(" *** GREUCL *** volume %s taken as a top volume\n",topvol);
       flag=1;
     }