]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
len is size_t so adjust as safe
authorJim Jagielski <jim@apache.org>
Mon, 25 Oct 2004 15:44:04 +0000 (15:44 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 25 Oct 2004 15:44:04 +0000 (15:44 +0000)
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

index f3f8c3e3af651fd1d682815c15acbbaf9ee9a099..062b9acef39b310d23b86dc956c25beb93e60d5f 100644 (file)
@@ -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);