From 1a3a8daf9b03f7f7ceeb51f3e9aafee190c2923b Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 18 Nov 2013 12:52:03 +0000 Subject: [PATCH] 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 --- support/ab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.49.0