diff --git a/core/eventdisplay/CbmTsPointSetArrayDraw.cxx b/core/eventdisplay/CbmTsPointSetArrayDraw.cxx
index 6eb88be814d185143a0c9dcf979003b3f8837238..f26c23f9b03f2d0053f5c4c9dcbc508afe745e2a 100644
--- a/core/eventdisplay/CbmTsPointSetArrayDraw.cxx
+++ b/core/eventdisplay/CbmTsPointSetArrayDraw.cxx
@@ -88,7 +88,7 @@ void CbmTsPointSetArrayDraw::GotoEvent(uint32_t uEventIdx)
     int nofPoints = fTsPointList->GetEntriesFast();
     int nPoints   = 0;
     LOG(debug3) << " Fill TofUhit from " << nofPoints << " hits in Ts.";
-    for (Int_t iP = 0; iP < event->GetNofData(ECbmDataType::kTofUHit); ++iP) {
+    for (size_t iP = 0; iP < event->GetNofData(ECbmDataType::kTofUHit); ++iP) {
       Int_t iPId      = event->GetIndex(ECbmDataType::kTofUHit, iP);  // make this generic!!
       CbmTofHit* tHit = dynamic_cast<CbmTofHit*>(fTsPointList->At(iPId));
       LOG(debug3) << "Add Hit " << iP << ", " << iPId << ", " << tHit << " at " << nPoints;
diff --git a/reco/L1/CbmL1.h b/reco/L1/CbmL1.h
index a47d7442a6592e3795d76e884d10d96b54d74b2f..7b187d3c597844d00c829975aecc34d0f60dd308 100644
--- a/reco/L1/CbmL1.h
+++ b/reco/L1/CbmL1.h
@@ -250,7 +250,7 @@ class CbmL1 : public FairTask {
   void SetGlobalMode() { fTrackingMode = ca::Framework::TrackingMode::kGlobal; }
 
   /// Sets misalignment of the detector
-  void SetMisalignment(ca::EDetectorID det, float dx, float dy, float dt) { fvMisalignment[det] = {dx, dy, dt}; }
+  void SetMisalignment(ca::EDetectorID det, float dx, float dy, float dt) { fvMisalignment[det] = {{dx, dy, dt}}; }
 
   void SetMisalignmentMvd(float dx, float dy, float dt) { SetMisalignment(ca::EDetectorID::kMvd, dx, dy, dt); }
   void SetMisalignmentSts(float dx, float dy, float dt) { SetMisalignment(ca::EDetectorID::kSts, dx, dy, dt); }
@@ -430,7 +430,9 @@ class CbmL1 : public FairTask {
 
   ca::InitManager fInitManager;                                ///< Tracking parameters data manager
   std::shared_ptr<ca::DataManager> fpIODataManager = nullptr;  ///< Input-output data manager
-  cbm::ca::DetIdArr_t<std::array<float, 3>> fvMisalignment{{0.}};  ///< Misalignment
+
+  cbm::ca::DetIdArr_t<std::array<float, 3>> fvMisalignment = {{{{0.}}}};  ///< Misalignment
+  // (so many braces are needed to satisfy the clang compiler)
 
  public:
   // ** Basic data members **
@@ -451,7 +453,7 @@ class CbmL1 : public FairTask {
   double fTargetY{1.e10};  ///< target position Y
   double fTargetZ{1.e10};  ///< target position Z
 
-  int fNStations     = 0;  ///< number of total active detector stations
+  int fNStations = 0;  ///< number of total active detector stations
 
   Int_t fPerformance   = 0;   ///< performance mode: 0 - w\o perf. 1 - L1-Efficiency definition. 2 - QA-Eff.definition
   double fTrackingTime = 0.;  ///< time of track finding procedure
@@ -544,6 +546,4 @@ class CbmL1 : public FairTask {
 };
 
 
-
-
 #endif  //_CbmL1_h_