#16965 [Opn->Asn]: extention MySQL in mod_php4 build breaks on Alpha due to variable sizes

From: Date: Sat, 03 Aug 2002 01:20:28 +0000
Subject: #16965 [Opn->Asn]: extention MySQL in mod_php4 build breaks on Alpha due to variable sizes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15882@lists.php.net to get a copy of this message
 ID:               16965
 Updated by:       zak@php.net
 Reported By:      yuri@tsoft.com
-Status:           Open
+Status:           Assigned
 Bug Type:         MySQL related
 Operating System: FreeBSD 5.0 (Alpha)
 PHP Version:      4.2.0
 Assigned To:      zak
 New Comment:

foo - must remember to change status



Previous Comments:
------------------------------------------------------------------------

[2002-08-02 21:19:46] zak@php.net

Thanks for the report - I will check it out.


------------------------------------------------------------------------

[2002-05-02 09:46:28] yuri@tsoft.com

I am trying to build mod_php4 4.2.0 on FreeBSD Alpha.
It breaks in mod_php4.c on conversion

link = (int) index_ptr->ptr;

warning: cast from pointer to integer of different size

since sizeof(void*)=8 and sizeof(int)=4.

This is warning but if/when it will be converted back and used
it will break.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16965&edit=1



Thread (5 messages)

« previous php.bugs (#15882) next »