mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
fix type mess (thanks again, Chris)
This commit is contained in:
parent
86a8604a81
commit
b616c7ffee
3 changed files with 4 additions and 4 deletions
|
@ -710,7 +710,7 @@ PHP_FUNCTION(oci_lob_flush)
|
||||||
{
|
{
|
||||||
zval **tmp, *z_descriptor = getThis();
|
zval **tmp, *z_descriptor = getThis();
|
||||||
php_oci_descriptor *descriptor;
|
php_oci_descriptor *descriptor;
|
||||||
ub4 flush_flag = 0;
|
long flush_flag = 0;
|
||||||
|
|
||||||
if (getThis()) {
|
if (getThis()) {
|
||||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &flush_flag) == FAILURE) {
|
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &flush_flag) == FAILURE) {
|
||||||
|
|
|
@ -580,7 +580,7 @@ int php_oci_lob_close (php_oci_descriptor *descriptor TSRMLS_DC)
|
||||||
|
|
||||||
/* {{{ php_oci_lob_flush()
|
/* {{{ php_oci_lob_flush()
|
||||||
Flush buffers for the LOB (only if they have been used) */
|
Flush buffers for the LOB (only if they have been used) */
|
||||||
int php_oci_lob_flush(php_oci_descriptor *descriptor, int flush_flag TSRMLS_DC)
|
int php_oci_lob_flush(php_oci_descriptor *descriptor, long flush_flag TSRMLS_DC)
|
||||||
{
|
{
|
||||||
OCILobLocator *lob = descriptor->descriptor;
|
OCILobLocator *lob = descriptor->descriptor;
|
||||||
php_oci_connection *connection = descriptor->connection;
|
php_oci_connection *connection = descriptor->connection;
|
||||||
|
@ -595,7 +595,7 @@ int php_oci_lob_flush(php_oci_descriptor *descriptor, int flush_flag TSRMLS_DC)
|
||||||
/* only these two are allowed */
|
/* only these two are allowed */
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid flag value: %d", flush_flag);
|
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid flag value: %ld", flush_flag);
|
||||||
return 1;
|
return 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -335,7 +335,7 @@ int php_oci_lob_get_length (php_oci_descriptor *, ub4 * TSRMLS_DC);
|
||||||
int php_oci_lob_get_type(php_oci_descriptor *descriptor, php_oci_lob_type *lob_type TSRMLS_DC);
|
int php_oci_lob_get_type(php_oci_descriptor *descriptor, php_oci_lob_type *lob_type TSRMLS_DC);
|
||||||
int php_oci_lob_read (php_oci_descriptor *, long, long, zstr *, ub4 * TSRMLS_DC);
|
int php_oci_lob_read (php_oci_descriptor *, long, long, zstr *, ub4 * TSRMLS_DC);
|
||||||
int php_oci_lob_write (php_oci_descriptor *, ub4, zstr, int, ub4 * TSRMLS_DC);
|
int php_oci_lob_write (php_oci_descriptor *, ub4, zstr, int, ub4 * TSRMLS_DC);
|
||||||
int php_oci_lob_flush (php_oci_descriptor *, int TSRMLS_DC);
|
int php_oci_lob_flush (php_oci_descriptor *, long TSRMLS_DC);
|
||||||
int php_oci_lob_set_buffering (php_oci_descriptor *, int TSRMLS_DC);
|
int php_oci_lob_set_buffering (php_oci_descriptor *, int TSRMLS_DC);
|
||||||
int php_oci_lob_get_buffering (php_oci_descriptor *);
|
int php_oci_lob_get_buffering (php_oci_descriptor *);
|
||||||
int php_oci_lob_copy (php_oci_descriptor *, php_oci_descriptor *, long TSRMLS_DC);
|
int php_oci_lob_copy (php_oci_descriptor *, php_oci_descriptor *, long TSRMLS_DC);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue