diff options
author | Christopher Jones <sixd@php.net> | 2007-07-18 15:10:42 +0000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2007-07-18 15:10:42 +0000 |
commit | d2219c0a1a0ee33e03c74fbc8d78ca04bdc76adf (patch) | |
tree | 906b9492d10473a3fca9c00c75d30385ba4268d0 /ext/oci8/oci8_lob.c | |
parent | 6b4b1e7431374fe1812bad1a09ede85616fed62e (diff) | |
download | php-git-d2219c0a1a0ee33e03c74fbc8d78ca04bdc76adf.tar.gz |
MFH: add casts to fix compilation warnings
Diffstat (limited to 'ext/oci8/oci8_lob.c')
-rw-r--r-- | ext/oci8/oci8_lob.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/oci8/oci8_lob.c b/ext/oci8/oci8_lob.c index 28b0f4e573..470b3b4488 100644 --- a/ext/oci8/oci8_lob.c +++ b/ext/oci8/oci8_lob.c @@ -672,7 +672,8 @@ void php_oci_lob_free (php_oci_descriptor *descriptor TSRMLS_DC) Import LOB contents from the given file */ int php_oci_lob_import (php_oci_descriptor *descriptor, char *filename TSRMLS_DC) { - int fp, loblen; + int fp; + ub4 loblen; OCILobLocator *lob = (OCILobLocator *)descriptor->descriptor; php_oci_connection *connection = descriptor->connection; char buf[8192]; @@ -695,9 +696,9 @@ int php_oci_lob_import (php_oci_descriptor *descriptor, char *filename TSRMLS_DC connection->err, lob, &loblen, - (ub4) offset, + offset, (dvoid *) &buf, - (ub4) loblen, + loblen, OCI_ONE_PIECE, (dvoid *)0, (OCICallbackLobWrite) 0, |