comparison Framework/Toolbox/GenericToolbox.h @ 1192:91d86144fb79

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 27 Nov 2019 14:16:20 +0100
parents f68da12e852b
children bdc6837d5917 2d8ab34c8c91
comparison
equal deleted inserted replaced
1190:f417a0ae282b 1192:91d86144fb79
134 ++p; 134 ++p;
135 } 135 }
136 if (*p == '.') 136 if (*p == '.')
137 { 137 {
138 double f = 0.0; 138 double f = 0.0;
139 int n = 1; 139 size_t n = 1;
140 ++p; 140 ++p;
141 while (*p >= '0' && *p <= '9' && n < FRAC_FACTORS_LEN) 141 while (*p >= '0' && *p <= '9' && n < FRAC_FACTORS_LEN)
142 { 142 {
143 f += (*p - '0') * FRAC_FACTORS[n]; 143 f += (*p - '0') * FRAC_FACTORS[n];
144 ++p; 144 ++p;