Change to satisfy gcc 2.95.4)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Jan 2004 13:31:13 +0000 (13:31 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Jan 2004 13:31:13 +0000 (13:31 +0000)
STEER/AliPoints.cxx

index 20cfeaa..15d535d 100644 (file)
@@ -87,7 +87,7 @@ void AliPoints::Copy(TObject &pts) const
   //
   // Copy *this onto pts
   //
-  if(this != &pts) {
+  if((TObject*)this != &pts) {
     ((TPolyMarker3D*)this)->Copy(dynamic_cast<TPolyMarker3D&>(pts));
     (dynamic_cast<AliPoints&>(pts)).fGLList = fGLList;
     (dynamic_cast<AliPoints&>(pts)).fLastPoint = fLastPoint;