Bug #16965: extention MySQL in mod_php4 build breaks on Alpha due to variable sizes
From: yuri@tsoft.com
Operating system: FreeBSD 5.0 (Alpha)
PHP version: 4.2.0
PHP Bug Type: *General Issues
Bug description: extention MySQL in mod_php4 build breaks on Alpha due to variable sizes
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 bug report at http://bugs.php.net/?id=16965&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16965&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16965&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16965&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16965&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16965&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16965&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16965&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16965&r=submittedtwice
Thread (5 messages)
- yuri at tsoft dot com