Re: [PHP4BETA] var.c warning
| From: | Andi Gutmans | Date: | Sat, 18 Mar 2000 19:49:07 +0000 |
| Subject: | Re: [PHP4BETA] var.c warning | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12376@lists.php.net to get a copy of this message | ||
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? :)
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/