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 3d2bcab9f4c8c4d8932683e401f2a07a50b596b2..410d219e014ebb37c96406dc1f7b13db6dd77d2d 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 8073f3abc00e8c7fe3dee002b65b678d88599f43..7c67e6728340f7af3b9f337b2e7957df3f4d574d 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);