summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2009-11-27 03:02:01 +0000
committerIlia Alshanetsky <iliaa@php.net>2009-11-27 03:02:01 +0000
commit5ef06b0c622976643db3f286029c6b43704090a5 (patch)
tree2dd684b410e8d315f770e90fd64236cd64d0be69
parentfa955848f69e78fde81398927dee38279248d885 (diff)
downloadphp-git-5ef06b0c622976643db3f286029c6b43704090a5.tar.gz
Fixe build
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index c5f7535636..3b6f9fd444 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -768,7 +768,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;