]> granicus.if.org Git - apache/commitdiff
%.*s precision supposedly takes an int, according to gcc
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 27 Aug 2009 23:33:09 +0000 (23:33 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 27 Aug 2009 23:33:09 +0000 (23:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808681 13f79535-47bb-0310-9956-ffa450edef68

modules/debugging/mod_dumpio.c

index b0a1a8b74d745958e7cf60343cfd4374d4def22b..56a34ae8cf750c362ad814bbcf66457262144ea2 100644 (file)
@@ -101,7 +101,7 @@ static void dumpit(ap_filter_t *f, apr_bucket *b, dumpio_conf_t *ptr)
                 ap_log_error(APLOG_MARK | APLOG_NOERRNO, ptr->loglevel, 0, c->base_server,
                              "mod_dumpio:  %s (%s-%s): %.*s", f->frec->name,
                              (APR_BUCKET_IS_METADATA(b)) ? "metadata" : "data",
-                             b->type->name, logbytes, buf);
+                             b->type->name, (int)logbytes, buf);
 #endif
             }
         } else {