Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 80805 invoked by uid 500); 13 May 2002 20:17:32 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 80794 invoked by uid 500); 13 May 2002 20:17:32 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 13 May 2002 20:17:31 -0000 Message-ID: <20020513201731.93728.qmail@icarus.apache.org> From: wrowe@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/loggers mod_log_config.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N wrowe 02/05/13 13:17:31 Modified: modules/loggers mod_log_config.c Log: Hmmm... gotta ask the wisdom in using aspecific types over apr_time_*_t types. Revision Changes Path 1.82 +1 -1 httpd-2.0/modules/loggers/mod_log_config.c Index: mod_log_config.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/loggers/mod_log_config.c,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- mod_log_config.c 12 May 2002 08:09:13 -0000 1.81 +++ mod_log_config.c 13 May 2002 20:17:31 -0000 1.82 @@ -507,7 +507,7 @@ #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) ||