Remove a warning for conversion double->long. This has impacts on Windows.

PR: 849
This commit is contained in:
Richard Levitte 2004-03-21 22:39:55 +00:00
parent 50afd9c9a8
commit c89bf7dca8

View file

@ -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);
}