php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16965 extention MySQL in mod_php4 build breaks on Alpha due to variable sizes
Submitted: 2002-05-02 09:46 UTC Modified: 2002-08-23 06:16 UTC
From: yuri at tsoft dot com Assigned: zak (profile)
Status: Closed Package: MySQL related
PHP Version: 4.2.0 OS: FreeBSD 5.0 (Alpha)
Private report: No CVE-ID: None
 [2002-05-02 09:46 UTC] yuri at tsoft dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-02 21:19 UTC] zak@php.net
Thanks for the report - I will check it out.

 [2002-08-02 21:20 UTC] zak@php.net
foo - must remember to change status

 [2002-08-23 06:16 UTC] georg@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 01:01:32 2024 UTC