From: Brian Pane Date: Sun, 7 Jul 2002 06:37:21 +0000 (+0000) Subject: fix for compilers that don't support long long datatype X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d4d6172235d9966c3dec92ddc9a2d41b00eeba0;p=apache fix for compilers that don't support long long datatype git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95967 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index c0bbef2df3..743c54b88d 100644 --- a/support/ab.c +++ b/support/ab.c @@ -1100,9 +1100,9 @@ static void output_html_results(void) "%d\n", trstring, tdstring, tdstring, concurrency); printf("Time taken for tests:" - "%qd.%03qd seconds\n", - trstring, tdstring, tdstring, (long long)apr_time_sec(timetaken), - (long long)apr_time_usec(timetaken)); + "%qd.%03ld seconds\n", + trstring, tdstring, tdstring, apr_time_sec(timetaken), + (long)apr_time_usec(timetaken)); printf("Complete requests:" "%ld\n", trstring, tdstring, tdstring, done); @@ -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.106 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.107 $> 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.106 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.107 $"); 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");