From: Jeff Trawick Date: Mon, 18 Nov 2013 12:52:03 +0000 (+0000) Subject: follow-up to r1542533: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=140258b9c6e183c0af16ee1a5e63488e35934259;p=thirdparty%2Fapache%2Fhttpd.git follow-up to r1542533: fix format string (unsigned vs. size_t) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1543020 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index 1b3e13d0f1b..a407ca06d2c 100644 --- a/support/ab.c +++ b/support/ab.c @@ -418,7 +418,8 @@ static char *xstrdup(const char *s) { char *ret = strdup(s); if (ret == NULL) { - fprintf(stderr, "Could not allocate memory (%u bytes)\n", strlen(s)); + fprintf(stderr, "Could not allocate memory (%" + APR_SIZE_T_FMT " bytes)\n", strlen(s)); exit(1); } return ret;