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/experimental cache_util.c
Date Wed, 03 Apr 2002 05:28:04 GMT
wrowe       02/04/02 21:28:04

  Modified:    modules/experimental cache_util.c
  Log:
    A very safe cast for any ^2 based cpu.  Are we expecting any trinary CPUs
    any time soon for Apache support?  Cleans up an emit on 32 bit builds.
  
  Revision  Changes    Path
  1.13      +1 -1      httpd-2.0/modules/experimental/cache_util.c
  
  Index: cache_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/cache_util.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- cache_util.c	13 Mar 2002 20:47:46 -0000	1.12
  +++ cache_util.c	3 Apr 2002 05:28:04 -0000	1.13
  @@ -243,7 +243,7 @@
       int i, ch;
   
       for (i = (sizeof(j) * 2)-1; i >= 0; i--) {
  -        ch = j & 0xF;
  +        ch = (int)j & 0xF;
           j >>= 4;
           if (ch >= 10)
               y[i] = ch + ('A' - 10);
  
  
  

Mime
View raw message