diff options
author | Christopher Jones <sixd@php.net> | 2010-11-10 18:49:55 +0000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2010-11-10 18:49:55 +0000 |
commit | 7a42845d80b4790d5cae72340123e13ac1c51c12 (patch) | |
tree | 9c2fe27e83f03a4b86724d8df7d11f9dc70a6e4d /ext/oci8 | |
parent | 2bf58d8c7019241d1c28803d0d0d086b8fd6647c (diff) | |
download | php-git-7a42845d80b4790d5cae72340123e13ac1c51c12.tar.gz |
Fixed bug #53284 (Valgrind warnings in oci_set_* functions)
Diffstat (limited to 'ext/oci8')
-rw-r--r-- | ext/oci8/oci8_interface.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/oci8/oci8_interface.c b/ext/oci8/oci8_interface.c index b12c8dc3bc..55f3674f75 100644 --- a/ext/oci8/oci8_interface.c +++ b/ext/oci8/oci8_interface.c @@ -1719,7 +1719,7 @@ PHP_FUNCTION(oci_set_client_identifier) zval *z_connection; php_oci_connection *connection; char *client_id; - long client_id_len; + int client_id_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_connection, &client_id, &client_id_len) == FAILURE) { return; @@ -1744,7 +1744,7 @@ PHP_FUNCTION(oci_set_edition) { #if ((OCI_MAJOR_VERSION > 11) || ((OCI_MAJOR_VERSION == 11) && (OCI_MINOR_VERSION >= 2))) char *edition; - long edition_len; + int edition_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &edition, &edition_len) == FAILURE) { return; @@ -1777,7 +1777,7 @@ PHP_FUNCTION(oci_set_module_name) zval *z_connection; php_oci_connection *connection; char *module; - long module_len; + int module_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_connection, &module, &module_len) == FAILURE) { return; @@ -1808,7 +1808,7 @@ PHP_FUNCTION(oci_set_action) zval *z_connection; php_oci_connection *connection; char *action; - long action_len; + int action_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_connection, &action, &action_len) == FAILURE) { return; @@ -1839,7 +1839,7 @@ PHP_FUNCTION(oci_set_client_info) zval *z_connection; php_oci_connection *connection; char *client_info; - long client_info_len; + int client_info_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_connection, &client_info, &client_info_len) == FAILURE) { return; |