diff options
author | Antony Dovgal <tony2001@php.net> | 2006-08-06 14:09:58 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-08-06 14:09:58 +0000 |
commit | 861c55b41781cc2fd044c1709cba3a9218add754 (patch) | |
tree | 45b54d04f86e58928d1684b96fe967cc29b5438d | |
parent | 444f1f2da3931419750672dc8dcbcfc0a7ca112c (diff) | |
download | php-git-861c55b41781cc2fd044c1709cba3a9218add754.tar.gz |
long -> int
-rw-r--r-- | ext/oci8/oci8.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 1df805ff7f..9b64d65afc 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1042,11 +1042,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; |