[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-cvs
Subject:    svn commit: r819695 - /httpd/httpd/trunk/support/ab.c
From:       jorton () apache ! org
Date:       2009-09-28 19:51:50
Message-ID: 20090928195150.89E9F2388882 () eris ! apache ! org
[Download RAW message or body]

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);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic