]> granicus.if.org Git - apache/commitdiff
If you want floating math, use float literals.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Jul 2002 19:39:01 +0000 (19:39 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Jul 2002 19:39:01 +0000 (19:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95980 13f79535-47bb-0310-9956-ffa450edef68

support/ab.c

index 743c54b88d80a253e49a8ac58dece536969bfef4..9d603cef19e2a4dcc11c70b9a75da004c646549c 100644 (file)
@@ -828,7 +828,7 @@ static void output_results(void)
     endtime = apr_time_now();
     timetakenusec = endtime - start;
     timetaken = ((float)apr_time_sec(timetakenusec)) +
-        ((float)apr_time_usec(timetakenusec)) / 1000000.0;
+        ((float)apr_time_usec(timetakenusec)) / 1000000.0F;
     
     printf("\n\n");
     printf("Server Software:        %s\n", servername);
@@ -1725,14 +1725,14 @@ static void test(void)
 static void copyright(void)
 {
     if (!use_html) {
-       printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.107 $> apache-2.0");
+       printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.108 $> apache-2.0");
        printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
        printf("Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/\n");
        printf("\n");
     }
     else {
        printf("<p>\n");
-       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.107 $");
+       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.108 $");
        printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
        printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/<br>\n");
        printf("</p>\n<p>\n");