wrowe       01/07/25 12:45:28

  Modified:    strings  apr_strings.c
  Log:
    Yes, this is a bogus cast.  It's necessary since win32 figures out the
    same calculation in apr_ltoa() is safe, but can't figure this out for
    an int64 value :(
  
  Revision  Changes    Path
  1.18      +1 -1      apr/strings/apr_strings.c
  
  Index: apr_strings.c
  ===================================================================
  RCS file: /home/cvs/apr/strings/apr_strings.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- apr_strings.c     2001/07/25 00:33:05     1.17
  +++ apr_strings.c     2001/07/25 19:45:27     1.18
  @@ -227,7 +227,7 @@
       }
       *start = 0;
       do {
  -     *--start = '0' + (n % 10);
  +     *--start = '0' + (char)(n % 10);
        n /= 10;
       } while (n);
       if (negative) {
  
  
  

Reply via email to