From 0656ec3e9dceec7495f26240428f9a6b52776bf1 Mon Sep 17 00:00:00 2001
From: "se.gorbunov" <se.gorbunov@gsi.de>
Date: Mon, 23 Oct 2023 21:30:53 +0000
Subject: [PATCH] compiler warning fixes in MVD code

---
 core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.cxx | 2 +-
 core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.cxx b/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.cxx
index 1d96b28ce0..ef4e4d68ce 100644
--- a/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.cxx
+++ b/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.cxx
@@ -108,7 +108,7 @@ void CbmMvdSensorFrameBuffer::SendInputArray(TClonesArray* inputStream)
 
 // -------------------------------------------------------------------------
 
-void CbmMvdSensorFrameBuffer::SetInput(CbmMvdPoint* point)
+void CbmMvdSensorFrameBuffer::SetInput(TObject* point)
 {
 
   new ((*fBuffer)[fBuffer->GetEntriesFast()]) CbmMvdPoint(*((CbmMvdPoint*) point));
diff --git a/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.h b/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.h
index 12d1f6cff5..756529f6f4 100644
--- a/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.h
+++ b/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.h
@@ -49,7 +49,7 @@ public:
   // Send a new event to the buffer. The event will be absorbed but not processed.
   // The input - array will be emptied
   void SendInputArray(TClonesArray* inputStream);
-  void SetInput(CbmMvdPoint* point);
+  void SetInput(TObject* point);
 
   // Receives the current event from the buffer. The Event is defined by the functions
   // BuildTimeSlice or BuildMimosaFrame. The memory is not emtied, use Clear*-methods
-- 
GitLab