From: Ilia Alshanetsky Date: Fri, 27 Nov 2009 03:02:01 +0000 (+0000) Subject: Fixe build X-Git-Tag: php-5.4.0alpha1~191^2~2336 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9474fee7300fe592f20f4d5e50f4090c44b946a9;p=php Fixe build --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 7b41526318..db3c700ebe 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -1214,7 +1214,7 @@ static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) 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;