Minor corrections (Sun)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Jun 2002 14:53:58 +0000 (14:53 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Jun 2002 14:53:58 +0000 (14:53 +0000)
VZERO/AliVZEROv0.cxx
VZERO/AliVZEROv2.cxx

index 3d2bcab..410d219 100755 (executable)
@@ -1530,14 +1530,14 @@ void AliVZEROv0::MakeBranch(Option_t *option)
   sprintf(branchname,"%s",GetName());
   printf(" fBufferSize = %d \n",fBufferSize);
   
-  char *H = strstr(option,"H");
+  const char *H = strstr(option,"H");
   
   if (fHits   && gAlice->TreeH() && H) {
     gAlice->TreeH()->Branch(branchname,&fHits, fBufferSize);
     printf("* AliDetector::MakeBranch * Making Branch %s for hits\n",branchname);
   }     
 
-  char *D = strstr(option,"D");
+  const char *D = strstr(option,"D");
   //
   if (fDigits   && gAlice->TreeD() && D) {
     gAlice->TreeD()->Branch(branchname,&fDigits, fBufferSize);
index 8073f3a..7c67e67 100755 (executable)
@@ -1160,14 +1160,14 @@ void AliVZEROv2::MakeBranch(Option_t *option)
   sprintf(branchname,"%s",GetName());
   printf(" fBufferSize = %d \n",fBufferSize);
   
-  char *H = strstr(option,"H");
+  const char *H = strstr(option,"H");
   
   if (fHits   && gAlice->TreeH() && H) {
     gAlice->TreeH()->Branch(branchname,&fHits, fBufferSize);
     printf("* AliDetector::MakeBranch * Making Branch %s for hits\n",branchname);
   }     
 
-  char *D = strstr(option,"D");
+  const char *D = strstr(option,"D");
   //
   if (fDigits   && gAlice->TreeD() && D) {
     gAlice->TreeD()->Branch(branchname,&fDigits, fBufferSize);