From 3e0a13fa9f101df23ad68d546dcffa626b6f7736 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Sun, 6 Aug 2006 14:09:46 +0000 Subject: [PATCH] long -> int --- ext/oci8/oci8.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 777e1f085d..3993732f32 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1057,11 +1057,10 @@ php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char else if (!persistent && zend_hash_find(&EG(regular_list), hashed_details.c, hashed_details.len+1, (void **) &le) == SUCCESS) { found = 1; if (le->type == le_index_ptr) { - int type; - long link; + int type, link; void *ptr; - link = (long) le->ptr; + link = (int) le->ptr; ptr = zend_list_find(link,&type); if (ptr && (type == le_connection)) { connection = (php_oci_connection *)ptr; -- 2.50.1