From 31d1e8edbf3247e1c02979c681c4423ccd131e4b Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Mon, 8 Jul 2002 19:39:01 +0000 Subject: [PATCH] If you want floating math, use float literals. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95980 13f79535-47bb-0310-9956-ffa450edef68 --- support/ab.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/support/ab.c b/support/ab.c index 743c54b88d..9d603cef19 100644 --- a/support/ab.c +++ b/support/ab.c @@ -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("

\n"); - printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.107 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.108 $"); 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

\n"); -- 2.40.0