svn: /php/php-src/ branches/PHP_5_2/ext/pgsql/pgsql.c branches/PHP_5_3/ext/pgsql/pgsql.c trunk/ext/pgsql/pgsql.c
| From: | Ilia Alshanetsky | Date: | Fri, 27 Nov 2009 03:02:01 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_2/ext/pgsql/pgsql.c branches/PHP_5_3/ext/pgsql/pgsql.c trunk/ext/pgsql/pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-61028@lists.php.net to get a copy of this message | ||
iliaa Fri, 27 Nov 2009 03:02:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291335
Log:
Fixe build
Changed paths:
U php/php-src/branches/PHP_5_2/ext/pgsql/pgsql.c
U php/php-src/branches/PHP_5_3/ext/pgsql/pgsql.c
U php/php-src/trunk/ext/pgsql/pgsql.c
Modified: php/php-src/branches/PHP_5_2/ext/pgsql/pgsql.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/pgsql/pgsql.c 2009-11-27 02:42:43 UTC (rev 291334)
+++ php/php-src/branches/PHP_5_2/ext/pgsql/pgsql.c 2009-11-27 03:02:01 UTC (rev 291335)
@@ -768,7 +768,7 @@
if (Z_TYPE_P(index_ptr) != le_index_ptr) {
RETURN_FALSE;
}
- link = (uintptr_t) index_ptr->ptr;
+ link = (ulong) index_ptr->ptr;
ptr = zend_list_find(link,&type); /* check if the link is still there */
if (ptr && (type==le_link || type==le_plink)) {
Z_LVAL_P(return_value) = link;
Modified: php/php-src/branches/PHP_5_3/ext/pgsql/pgsql.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pgsql/pgsql.c 2009-11-27 02:42:43 UTC (rev 291334)
+++ php/php-src/branches/PHP_5_3/ext/pgsql/pgsql.c 2009-11-27 03:02:01 UTC (rev 291335)
@@ -1224,7 +1224,7 @@
if (Z_TYPE_P(index_ptr) != le_index_ptr) {
RETURN_FALSE;
}
- link = (uintptr_t) index_ptr->ptr;
+ link = (ulong) index_ptr->ptr;
ptr = zend_list_find(link,&type); /* check if the link is still there */
if (ptr && (type==le_link || type==le_plink)) {
Z_LVAL_P(return_value) = link;
Modified: php/php-src/trunk/ext/pgsql/pgsql.c
===================================================================
--- php/php-src/trunk/ext/pgsql/pgsql.c 2009-11-27 02:42:43 UTC (rev 291334)
+++ php/php-src/trunk/ext/pgsql/pgsql.c 2009-11-27 03:02:01 UTC (rev 291335)
@@ -1214,7 +1214,7 @@
if (Z_TYPE_P(index_ptr) != le_index_ptr) {
RETURN_FALSE;
}
- link = (uintptr_t) index_ptr->ptr;
+ link = (ulong) index_ptr->ptr;
ptr = zend_list_find(link,&type); /* check if the link is still there */
if (ptr && (type==le_link || type==le_plink)) {
Z_LVAL_P(return_value) = link;