Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 61280 invoked by uid 500); 25 Jul 2001 19:48:28 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 61269 invoked from network); 25 Jul 2001 19:48:28 -0000 Date: 25 Jul 2001 19:45:28 -0000 Message-ID: <20010725194528.2721.qmail@icarus.apache.org> From: wrowe@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/strings apr_strings.c X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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) {