You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2009/09/28 21:51:50 UTC

svn commit: r819695 - /httpd/httpd/trunk/support/ab.c

Author: jorton
Date: Mon Sep 28 19:51:50 2009
New Revision: 819695

URL: http://svn.apache.org/viewvc?rev=819695&view=rev
Log:
* support/ab.c (output_results): Fix gcc warning on LP64 - field
  width passed via '*' must be an int.

Modified:
    httpd/httpd/trunk/support/ab.c

Modified: httpd/httpd/trunk/support/ab.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?rev=819695&r1=819694&r2=819695&view=diff
==============================================================================
--- httpd/httpd/trunk/support/ab.c (original)
+++ httpd/httpd/trunk/support/ab.c Mon Sep 28 19:51:50 2009
@@ -807,7 +807,7 @@
     if (send_body)
         printf("Total %s:%*s          %" APR_INT64_T_FMT "\n",
                method_str_pasttense[method],
-               7 - strlen(method_str_pasttense[method]),
+               (int)(7 - strlen(method_str_pasttense[method])),
                " ",
                totalposted);
     printf("HTML transferred:       %" APR_INT64_T_FMT " bytes\n", totalbread);