From dfbcb43e555e3be3175777db073609cf333b347a Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Mon, 25 Oct 2004 15:44:04 +0000 Subject: [PATCH] len is size_t so adjust as safe PR: Obtained from: Submitted by: Joe O. Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@105592 13f79535-47bb-0310-9956-ffa450edef68 --- src/modules/standard/mod_include.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/standard/mod_include.c b/src/modules/standard/mod_include.c index f3f8c3e3af6..062b9acef39 100644 --- a/src/modules/standard/mod_include.c +++ b/src/modules/standard/mod_include.c @@ -431,7 +431,7 @@ static int get_directive(FILE *in, char *dest, size_t len, request_rec *r) if (d == len + dest) { ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r, "mod_include: directive length exceeds limit" - " (%d) in %s", len+1, r->filename); + " (%lu) in %s", (unsigned long)len+1, r->filename); return 1; } *d++ = ap_tolower(c); -- 2.47.2