Remove a warning for conversion double->long. This has impacts on Windows.
PR: 849
This commit is contained in:
parent
50afd9c9a8
commit
c89bf7dca8
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ fmtfp(
|
|||
multiplying by a factor of 10 */
|
||||
fracpart = roundv((pow10(max)) * (ufvalue - intpart));
|
||||
|
||||
if (fracpart >= pow10(max)) {
|
||||
if (fracpart >= (long)pow10(max)) {
|
||||
intpart++;
|
||||
fracpart -= (long)pow10(max);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue