Minor corrections for HP, DEC and Sun; strings.h included
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Sep 2000 10:42:14 +0000 (10:42 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Sep 2000 10:42:14 +0000 (10:42 +0000)
RICH/AliRICH.cxx

index 5a1803a48b559560eb70cdb62dabe6881a63c257..dee233d0ad33204c492fddc80718078855c990d3 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
   $Log$
+  Revision 1.22  2000/09/12 18:11:13  fca
+  zero hits area before using
+
   Revision 1.21  2000/07/21 10:21:07  morsch
   fNrawch   = 0; and  fNrechits = 0; in the default constructor.
 
@@ -51,6 +54,7 @@
 #include <TFile.h>
 #include <TParticle.h>
 #include <iostream.h>
+#include <strings.h>
 
 #include "AliRICH.h"
 #include "AliRICHSegmentation.h"
@@ -1381,7 +1385,7 @@ void AliRICH::StepManager()
     pos[0]=position(0);
     pos[1]=position(1);
     pos[2]=position(2);
-    bzero(ckovData,sizeof(ckovData)*19);
+    bzero((char *)ckovData,sizeof(ckovData)*19);
     ckovData[1] = pos[0];                 // X-position for hit
     ckovData[2] = pos[1];                 // Y-position for hit
     ckovData[3] = pos[2];                 // Z-position for hit