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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to