Re: [PHP4BETA] var.c warning

From: Date: Sat, 18 Mar 2000 20:20:52 +0000
Subject: Re: [PHP4BETA] var.c warning
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-12379@lists.php.net to get a copy of this message
On Sat, Mar 18, 2000 at 09:49:07PM +0200, Andi Gutmans wrote: > Yes that code seems to use refcount as some temporary flag. > Thies, can you please fix the code and make sure that it doesn't rely on > putting obscure values in refcount? :) grr, will do tomorrow... no problem. > > Andi > > At 01:21 PM 3/18/00 -0600, Andrei Zmievski wrote: > >The latest change of refcount to be unsigned short results in the > >warning: > > > >var.c:59: warning: comparison is always 0 due to limited range of data > >type > >var.c:75: warning: comparison is always 0 due to limited range of data > >type > >var.c:82: warning: comparison is always 0 due to limited range of data > >type > > > >On those lines refcount is being compared to -1, although I have no idea > >why. This needs to be fixed. > > > >-Andrei > >* The future has arrived, it's just not evenly distributed. -W. Gibson * > > > >-- > >PHP 4.0 Beta Mailing List > ><http://www.php.net/version4/> > >To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > >For additional commands, e-mail: php4beta-help@lists.php.net > >To contact the list administrators, e-mail: php4beta-admin@lists.php.net > > --- > Andi Gutmans <andi@zend.com> > http://www.zend.com/ > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#12379) next »