Re: PHP3 and 64-bit land

From: Date: Sat, 27 Feb 1999 17:44:53 +0000
Subject: Re: PHP3 and 64-bit land
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-4334@lists.php.net to get a copy of this message
On Sat, Feb 27, 1999 at 06:30:12PM +0200, Zeev Suraski wrote: > On Sat, 27 Feb 1999 sas@schell.de wrote: > > > There seem to be some open issues in some modules which assume pointers == 32 > > bits wide == int. For example in mysql.c: > > > > int type,link; > > void *ptr; > > > > if (index_ptr->type != le_index_ptr) { > > RETURN_FALSE; > > } > > link = (int) index_ptr->ptr; > > ptr = php3_list_find(link,&type); > > > > I'll commit some changes, but people, please bear in mind that a pointer does > > not necessarily fit into an int. It would be sad, if we would get bug reports > > related to bad programming behaviour. > > Please don't commit these changes. These warnings can safely be ignored. > > Zeev Well, I don't intend to change that specific part. It appears to me that index_ptr is just recycled. -- Regards, Sascha Schumann | Consultant | finger sas@schell.de | for PGP public key -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4334) next »