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:52 +00:00
parent 18a6333180
commit ec5d8a54e9

View File

@ -641,9 +641,9 @@ fmtfp(
multiplying by a factor of 10 */
fracpart = roundv((pow10(max)) * (ufvalue - intpart));
if (fracpart >= pow10(max)) {
if (fracpart >= (long)pow10(max)) {
intpart++;
fracpart -= pow10(max);
fracpart -= (long)pow10(max);
}
/* convert integer part */