Re: cvs: php4 /ext/standard php_smart_str.h

From: Date: Wed, 08 May 2002 04:02:12 +0000
Subject: Re: cvs: php4 /ext/standard php_smart_str.h
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11743@lists.php.net to get a copy of this message
You might want to revert this before you get the get a better compiler dogs sicced on you. See discussion a few days back. Joseph ----- Original Message ----- From: "Frank M. Kromann" <frank@frontbase.com> To: <php-cvs@lists.php.net> Sent: Tuesday, May 07, 2002 11:56 PM Subject: [PHP-CVS] cvs: php4 /ext/standard php_smart_str.h > fmk Tue May 7 23:56:43 2002 EDT > > Modified files: > /php4/ext/standard php_smart_str.h > Log: > Kill a compiler warning on Win32 > > Index: php4/ext/standard/php_smart_str.h > diff -u php4/ext/standard/php_smart_str.h:1.20 php4/ext/standard/php_smart_str.h:1.21 > --- php4/ext/standard/php_smart_str.h:1.20 Mon Apr 22 16:42:01 2002 > +++ php4/ext/standard/php_smart_str.h Tue May 7 23:56:43 2002 > @@ -84,7 +84,7 @@ > > *p = '\0'; > do { > - *--p = (num % 10) + '0'; > + *--p = (char)(num % 10) + '0'; > num /= 10; > } while (num > 0); > > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.cvs (#11743) next »