httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: cvs commit: apache-1.3/src/modules/standard mod_include.c
Date Mon, 25 Oct 2004 13:11:38 GMT
On Fri, Oct 22, 2004 at 07:31:09PM -0000, Jim Jagielski wrote:
>    	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);

This adds a GCC warning on 64-bit platforms, probably should be %lu and
(unsigned long)len + 1 if it's really necessary to print the length.

mod_include.c: In function `get_directive':
mod_include.c:434: warning: int format, different type arg (arg 6)

joe

Mime
View raw message