mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Remove a warning for conversion double->long. This has impacts on Windows.
PR: 849
This commit is contained in:
parent
18a6333180
commit
ec5d8a54e9
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user