Gets around VC++ compiler pickiness. (long != double)
authorGeoff Thorpe <geoff@openssl.org>
Fri, 25 Feb 2000 14:50:37 +0000 (14:50 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Fri, 25 Feb 2000 14:50:37 +0000 (14:50 +0000)
PR:

crypto/bio/b_print.c

index 9a71441..80dc162 100644 (file)
@@ -618,7 +618,7 @@ fmtfp(
 
     if (fracpart >= pow10(max)) {
         intpart++;
-        fracpart -= pow10(max);
+        fracpart -= (long)pow10(max);
     }
 
     /* convert integer part */