Skip to content

Commit

Permalink
TRestStringHelper fixing compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jgalan committed Jun 13, 2024
1 parent 2892f57 commit dca987d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/framework/tools/src/TRestStringHelper.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ string REST_StringHelper::ReplaceMathematicalExpressions(string buffer, Int_t pr
}

// we split the unit part and the expression part
int pos = buffer.find_first_of("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ");
size_t pos = buffer.find_first_of("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ");

if( pos == string::npos ) pos = 0;

Expand Down

0 comments on commit dca987d

Please sign in to comment.