From: Roy T. Fielding Date: Fri, 12 Sep 2003 23:01:20 +0000 (+0000) Subject: fix snprintf format type warnings X-Git-Tag: pre_ajp_proxy~1165 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=655691fb3fa46437f7ae48943554bec3131882a4;p=apache fix snprintf format type warnings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101234 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index ad47e265b0..88748f02e0 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -706,15 +706,17 @@ static const char *get_include_var(const char *var, include_ctx_t *ctx) * v.s. empty strings on an empty match is deliberate. */ if (!re) { - ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, "regex capture $%d " - "refers to no regex in %s", idx, r->filename); + ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, + "regex capture $%" APR_SIZE_T_FMT " refers to no regex in %s", + idx, r->filename); return NULL; } else { if (re->nsub < idx) { ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, - "regex capture $%d is out of range (last regex " - "was: '%s') in %s", idx, re->rexp, r->filename); + "regex capture $%" APR_SIZE_T_FMT + " is out of range (last regex was: '%s') in %s", + idx, re->rexp, r->filename); return NULL; }