From 86b17576c54e7372ab58304ec02028dd3f82c6e9 Mon Sep 17 00:00:00 2001 From: "Stephen A. Wood" <saw@jlab.org> Date: Wed, 4 May 2016 10:14:47 -0400 Subject: [PATCH] Result of str::find_first_of has to be Int_t, not UInt_t --- src/THcDetectorMap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/THcDetectorMap.cxx b/src/THcDetectorMap.cxx index 6245ba8..9247259 100644 --- a/src/THcDetectorMap.cxx +++ b/src/THcDetectorMap.cxx @@ -283,7 +283,7 @@ void THcDetectorMap::Load(const char *fname) if((pos=line.find_first_of("=")) != string::npos) { // Setting parameter strcpy(varname, (line.substr(0,pos)).c_str()); Int_t valuestartpos = pos+1; - UInt_t commapos = line.find_first_of(","); + Int_t commapos = line.find_first_of(","); Int_t value; Int_t value2 = -1; if(commapos != string::npos) { -- GitLab