From 188d636bc805f2eaf93e77ae1a0faa7d3599d32f Mon Sep 17 00:00:00 2001 From: Rene Brun <Rene.Brun@cern.ch> Date: Fri, 20 Jun 2008 13:25:59 +0000 Subject: [PATCH] Fix a compilation warning git-svn-id: http://root.cern.ch/svn/root/trunk@24417 27541ba8-7e3a-0410-8455-c3a389f83636 --- hist/hist/src/TH2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hist/hist/src/TH2.cxx b/hist/hist/src/TH2.cxx index e6ccbc52465..76f300c14c7 100644 --- a/hist/hist/src/TH2.cxx +++ b/hist/hist/src/TH2.cxx @@ -1922,7 +1922,7 @@ TH1D *TH2::DoProjection(const char *name, bool onX, Int_t firstbin, Int_t lastbi // internal (protected) method for performing projection on the X or Y axis // called by ProjectionX or ProjectionY - char *expectedName = 0; + const char *expectedName = 0; Int_t outNbin, inNbin; TAxis* outAxis; -- GitLab