From a0380e49242fcc8387ad5363e0df8b6a65e224e5 Mon Sep 17 00:00:00 2001
From: Rene Brun <Rene.Brun@cern.ch>
Date: Tue, 22 Jan 2008 21:53:37 +0000
Subject: [PATCH] Fix to take into account the const char* changes in CINT

git-svn-id: http://root.cern.ch/svn/root/trunk@21814 27541ba8-7e3a-0410-8455-c3a389f83636
---
 pyroot/src/Utility.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyroot/src/Utility.cxx b/pyroot/src/Utility.cxx
index 91603161bae..57e4209465e 100644
--- a/pyroot/src/Utility.cxx
+++ b/pyroot/src/Utility.cxx
@@ -300,7 +300,7 @@ void PyROOT::Utility::ErrMsgCallback( char* msg )
       return;
 
 // get file name and line number
-   char* errFile = G__stripfilename( G__get_ifile()->name );
+   char* errFile = (char*)G__stripfilename( G__get_ifile()->name );
    int errLine = G__get_ifile()->line_number;
 
 // ignore ROOT-style FILE/LINE messages
-- 
GitLab