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/server util_time.c
Date Mon, 01 Oct 2001 15:49:02 GMT
wrowe       01/10/01 08:49:02

  Modified:    server   util_time.c
  Log:
    Nothing wrong with an int here, so make it explicit and kill the warning.
  
  Revision  Changes    Path
  1.2       +1 -1      httpd-2.0/server/util_time.c
  
  Index: util_time.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util_time.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- util_time.c	2001/09/19 06:53:26	1.1
  +++ util_time.c	2001/10/01 15:49:02	1.2
  @@ -157,7 +157,7 @@
           memcpy(&(cache_element->xt), xt, sizeof(apr_exploded_time_t));
           cache_element->t_validate = seconds;
       }
  -    xt->tm_usec = t % APR_USEC_PER_SEC;
  +    xt->tm_usec = (int)(t % APR_USEC_PER_SEC);
       return APR_SUCCESS;
   }
   
  
  
  

Mime
View raw message