From d79a41f66312840d2c62b7039977585129475065 Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Tue, 10 Jan 2023 20:02:38 +0100
Subject: [PATCH] Fix type

---
 DDG4/src/Geant4Output2ROOT.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/DDG4/src/Geant4Output2ROOT.cpp b/DDG4/src/Geant4Output2ROOT.cpp
index 7e8ca9438..f8119eb28 100644
--- a/DDG4/src/Geant4Output2ROOT.cpp
+++ b/DDG4/src/Geant4Output2ROOT.cpp
@@ -56,13 +56,13 @@ void Geant4Output2ROOT::closeOutput()   {
   if (m_file) {
     TDirectory::TContext ctxt(m_file);
     Sections::iterator i = m_sections.find(m_section);
-    info("+++ Closing ROOT ourput file %s", m_file->GetName());
+    info("+++ Closing ROOT output file %s", m_file->GetName());
     if ( i != m_sections.end() )
       m_sections.erase(i);
     m_branches.clear();
     m_tree->Write();
     m_file->Close();
-    m_tree = 0;
+    m_tree = nullptr;
     detail::deletePtr (m_file);
   }
 }
-- 
GitLab