apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/strings apr_strings.c
Date Mon, 13 May 2002 16:09:22 GMT
wrowe       02/05/13 09:09:22

  Modified:    strings  apr_strings.c
  Log:
    Fix a char'ness issue.
  
  Revision  Changes    Path
  1.27      +1 -1      apr/strings/apr_strings.c
  
  Index: apr_strings.c
  ===================================================================
  RCS file: /home/cvs/apr/strings/apr_strings.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- apr_strings.c	12 May 2002 00:56:26 -0000	1.26
  +++ apr_strings.c	13 May 2002 16:09:22 -0000	1.27
  @@ -268,7 +268,7 @@
       }
       *start = 0;
       do {
  -	*--start = '0' + (n % 10);
  +	*--start = (char)('0' + (n % 10));
   	n /= 10;
       } while (n);
       if (negative) {
  
  
  

Mime
View raw message