From: Joe Orton Date: Mon, 28 Sep 2009 19:51:50 +0000 (+0000) Subject: * support/ab.c (output_results): Fix gcc warning on LP64 - field X-Git-Tag: 2.3.3~254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5aee01033402c8dea3dbeba3975cce5f7ac0bf4;p=apache * support/ab.c (output_results): Fix gcc warning on LP64 - field width passed via '*' must be an int. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@819695 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index 5b1f49df45..0da9b41429 100644 --- a/support/ab.c +++ b/support/ab.c @@ -807,7 +807,7 @@ static void output_results(int sig) 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);