]> granicus.if.org Git - apache/commitdiff
fix snprintf format type warnings
authorRoy T. Fielding <fielding@apache.org>
Fri, 12 Sep 2003 23:01:20 +0000 (23:01 +0000)
committerRoy T. Fielding <fielding@apache.org>
Fri, 12 Sep 2003 23:01:20 +0000 (23:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101234 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c

index ad47e265b04975456dac10b0989061d7a0e3a95d..88748f02e0cfaad609b48e6d4c6b55379ad0492d 100644 (file)
@@ -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;
             }