Remove a warning for conversion double->long. This has impacts on Windows.
authorRichard Levitte <levitte@openssl.org>
Sun, 21 Mar 2004 22:39:59 +0000 (22:39 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 21 Mar 2004 22:39:59 +0000 (22:39 +0000)
PR: 849

crypto/bio/b_print.c

index fbff331796804683fef7c463b268ae8f3476396e..c2bb357b4c61d6e46a66658046808eff6d575653 100644 (file)
@@ -641,7 +641,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);
     }