diff options
author | Antony Dovgal <tony2001@php.net> | 2005-09-25 23:46:28 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-09-25 23:46:28 +0000 |
commit | bf69d23a21161a4fb265cadb37012b024dca8138 (patch) | |
tree | 9856cf3b508d1223ad20eaab04f2f3d8c5c2b867 | |
parent | de50d0275c4e8b08445f2191867792b4de46bc7f (diff) | |
download | php-git-bf69d23a21161a4fb265cadb37012b024dca8138.tar.gz |
more 64-bit fixes
-rw-r--r-- | ext/oci8/oci8_interface.c | 2 | ||||
-rw-r--r-- | ext/oci8/oci8_lob.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/oci8/oci8_interface.c b/ext/oci8/oci8_interface.c index 2c79109463..7b008e02d9 100644 --- a/ext/oci8/oci8_interface.c +++ b/ext/oci8/oci8_interface.c @@ -1216,7 +1216,7 @@ PHP_FUNCTION(oci_execute) { zval *z_statement; php_oci_statement *statement; - ub4 mode = OCI_COMMIT_ON_SUCCESS; + long mode = OCI_COMMIT_ON_SUCCESS; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &z_statement, &mode) == FAILURE) { return; diff --git a/ext/oci8/oci8_lob.c b/ext/oci8/oci8_lob.c index 9d7b9301f6..865a4ef494 100644 --- a/ext/oci8/oci8_lob.c +++ b/ext/oci8/oci8_lob.c @@ -254,7 +254,7 @@ int php_oci_lob_read (php_oci_descriptor *descriptor, long read_length, long off /* {{{ php_oci_lob_write() Write data to the LOB */ -int php_oci_lob_write (php_oci_descriptor *descriptor, ub4 offset, char *data, long data_len, ub4 *bytes_written TSRMLS_DC) +int php_oci_lob_write (php_oci_descriptor *descriptor, ub4 offset, char *data, int data_len, ub4 *bytes_written TSRMLS_DC) { OCILobLocator *lob = (OCILobLocator *) descriptor->descriptor; php_oci_connection *connection = (php_oci_connection *) descriptor->connection; @@ -647,7 +647,7 @@ int php_oci_lob_is_equal (php_oci_descriptor *descriptor_first, php_oci_descript /* {{{ php_oci_lob_write_tmp() Create temporary LOB and write data to it */ -int php_oci_lob_write_tmp (php_oci_descriptor *descriptor, ub1 type, char *data, long data_len TSRMLS_DC) +int php_oci_lob_write_tmp (php_oci_descriptor *descriptor, ub1 type, char *data, int data_len TSRMLS_DC) { php_oci_connection *connection = descriptor->connection; OCILobLocator *lob = descriptor->descriptor; |