From 44a849be1c6159eae42d9d9990b00434b895a2dc Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Sat, 3 Jan 2004 15:49:57 +0000 Subject: [PATCH] * 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 --- modules/loggers/mod_log_forensic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.50.1