From 2379430c5798679922a2d8ec5421bef683fc0938 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Mon, 13 May 2002 20:17:31 +0000 Subject: [PATCH] Hmmm... gotta ask the wisdom in using aspecific types over apr_time_*_t types. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95068 13f79535-47bb-0310-9956-ffa450edef68 --- modules/loggers/mod_log_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c index 99e437af22..e8276404ef 100644 --- a/modules/loggers/mod_log_config.c +++ b/modules/loggers/mod_log_config.c @@ -507,7 +507,7 @@ static const char *log_request_time(request_rec *r, char *a) #else apr_time_t request_time = r->request_time; #endif - unsigned i = request_time / APR_USEC_PER_SEC; + unsigned i = (unsigned)(request_time / APR_USEC_PER_SEC); i &= TIME_CACHE_MASK; memcpy(cached_time, &(request_time_cache[i]), sizeof(*cached_time)); if ((request_time != cached_time->t) || -- 2.40.0