ID: 43526 User updated by: mi+php at aldan dot algebra dot com -Summary: zend_list functions should take ulong IDs Reported By: mi+php at aldan dot algebra dot com Status: Open Bug Type: PostgreSQL related Operating System: FreeBSD/amd64 PHP Version: 5.2.5 New Comment:
Change the Summary to reflect the contents of /this/ bug report. Previous Comments: ------------------------------------------------------------------------ [2007-12-07 05:18:50] mi+php at aldan dot algebra dot com Description: ------------ The pgsql.c extension fails to compile on a 64-bit system, when ``-Wall -Werror'' are enabled. Some of the raised warnings point to likely programming mistakes, such as when a pointer is casted to int, which loses bits wherever void* is wider than int. The patch at http://virtual-estates.com/~mi/port-stuff/patch-pgsql-64bit fixes this. It requires the earlier submitted patch for zend_list functions, or else the pointer's bits will be truncated by the call to zend_list_find anyway. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43526&edit=1