cleaned up signed/unsigned int issues.

This commit is contained in:
2018-06-06 16:24:42 +02:00
parent 215faf6e50
commit 5617cf2925
11 changed files with 30 additions and 32 deletions

View File

@@ -6462,7 +6462,7 @@ UInt_t PMusrCanvas::GetNeededAccuracy(PMsrParamStructure param)
}
// find last significant digit
for (UInt_t i=strlen(str)-1; i>=0; i--) {
for (Int_t i=strlen(str)-1; i>=0; i--) {
if (str[i] != '0') {
if ((i-decimalPoint) < precLimit)
accuracy = i-decimalPoint;