httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/loggers mod_log_config.c
Date Mon, 13 May 2002 20:17:31 GMT
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) ||
  
  
  

Mime
View raw message