]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPoints.cxx
Change to satisfy gcc 2.95.4)
[u/mrichter/AliRoot.git] / STEER / AliPoints.cxx
index 20cfeaacdbb4245a8f294ede315df1f34602fbd3..15d535ddf2d22e23f3a3ffa1975057fb4874e6ef 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;