From: Joe Orton Date: Sat, 3 Jan 2004 15:49:57 +0000 (+0000) Subject: * modules/loggers/mod_log_forensic.c (struct hlog, log_before, X-Git-Tag: pre_ajp_proxy~888 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44a849be1c6159eae42d9d9990b00434b895a2dc;p=apache * modules/loggers/mod_log_forensic.c (struct hlog, log_before, log_after): Use apr_size_t for storing string sizes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102154 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/loggers/mod_log_forensic.c b/modules/loggers/mod_log_forensic.c index 95157f202b..65c91ce0c9 100644 --- a/modules/loggers/mod_log_forensic.c +++ b/modules/loggers/mod_log_forensic.c @@ -177,7 +177,7 @@ typedef struct hlog { char *pos; char *end; apr_pool_t *p; - int count; + size_t count; } hlog; static int count_string(const char *p) @@ -219,7 +219,7 @@ static int log_before(request_rec *r) &log_forensic_module); const char *id; hlog h; - int n; + apr_size_t n; apr_status_t rv; if (!cfg->fd) { @@ -271,7 +271,7 @@ static int log_after(request_rec *r) const char *id = ap_get_module_config(r->request_config, &log_forensic_module); char *s; - int l,n; + apr_size_t l, n; apr_status_t rv; if (!cfg->fd) {