Skip to content
Snippets Groups Projects
Commit 86b17576 authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

Result of str::find_first_of has to be Int_t, not UInt_t

parent 5704422c
No related branches found
No related tags found
No related merge requests found
...@@ -283,7 +283,7 @@ void THcDetectorMap::Load(const char *fname) ...@@ -283,7 +283,7 @@ void THcDetectorMap::Load(const char *fname)
if((pos=line.find_first_of("=")) != string::npos) { // Setting parameter if((pos=line.find_first_of("=")) != string::npos) { // Setting parameter
strcpy(varname, (line.substr(0,pos)).c_str()); strcpy(varname, (line.substr(0,pos)).c_str());
Int_t valuestartpos = pos+1; Int_t valuestartpos = pos+1;
UInt_t commapos = line.find_first_of(","); Int_t commapos = line.find_first_of(",");
Int_t value; Int_t value;
Int_t value2 = -1; Int_t value2 = -1;
if(commapos != string::npos) { if(commapos != string::npos) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment