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/metadata mod_unique_id.c
Date Tue, 02 Oct 2001 20:00:54 GMT
wrowe       01/10/02 13:00:54

  Modified:    modules/metadata mod_unique_id.c
  Log:
    Clean up a couple of type warnings.
  
  Revision  Changes    Path
  1.30      +2 -2      httpd-2.0/modules/metadata/mod_unique_id.c
  
  Index: mod_unique_id.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_unique_id.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- mod_unique_id.c	2001/08/19 05:48:19	1.29
  +++ mod_unique_id.c	2001/10/02 20:00:54	1.30
  @@ -270,7 +270,7 @@
        * of them.  It would have been really nice to test this during
        * global_init ... but oh well.
        */
  -    if (cur_unique_id.pid != pid) {
  +    if ((pid_t)cur_unique_id.pid != pid) {
           ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_CRIT, 0, s,
                       "oh no! pids are greater than 32-bits!  I'm broken!");
       }
  @@ -286,7 +286,7 @@
       /* Some systems have very low variance on the low end of their system
        * counter, defend against that.
        */
  -    cur_unique_id.counter = tv % APR_USEC_PER_SEC / 10;
  +    cur_unique_id.counter = (unsigned short)(tv % APR_USEC_PER_SEC / 10);
   
       /*
        * We must always use network ordering for these bytes, so that
  
  
  

Mime
View raw message