From: Jeff Trawick Date: Mon, 18 Nov 2013 12:52:03 +0000 (+0000) Subject: follow-up to r1542533: X-Git-Tag: 2.5.0-alpha~4841 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a3a8daf9b03f7f7ceeb51f3e9aafee190c2923b;p=apache 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 1b3e13d0f1..a407ca06d2 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;