for ( index = 0 ; index < fMulDigit ; index++ )
tempo[index] = fDigitsList[index] ;
- delete fDigitsList ;
+ delete [] fDigitsList ;
fDigitsList = tempo ;
}
// Copy *this onto pts
//
// Copy all first
- if(this != &recp) {
+ if((TObject*)this != &recp) {
((TObject*) this)->Copy(recp);
(dynamic_cast<AliRecPoint&>(recp)).fAmp = fAmp;
(dynamic_cast<AliRecPoint&>(recp)).fGeom = fGeom;