提交 ec5d8a54 编写于 作者: R Richard Levitte

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

PR: 849
上级 18a63331
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册