Author: byterock
Date: Wed Dec 5 07:49:51 2007
New Revision: 10369
Modified:
dbd-oracle/trunk/dbdimp.c
dbd-oracle/trunk/dbdimp.h
Log:
getting rid of warnings
Modified: dbd-oracle/trunk/dbdimp.c
==============================================================================
--- dbd-oracle/trunk/dbdimp.c (original)
+++ dbd-oracle/trunk/dbdimp.c Wed Dec 5 07:49:51 2007
@@ -1411,7 +1411,7 @@
phs->array_lengths, /* ub2 *alen_ptr not needed with OCIBindDynamic
*/
(ub2)0,
(ub4)phs->ora_maxarray_numentries, /* max elements that can fit in
allocated array */
- &(phs->array_numstruct), /* (ptr to) current number of elements
in array */
+ (ub4 *)&(phs->array_numstruct), /* (ptr to) current number of
elements in array */
OCI_DEFAULT, /* OCI_DATA_AT_EXEC (bind with
callbacks) or OCI_DEFAULT */
status
);
@@ -1818,7 +1818,7 @@
phs->array_lengths,
(ub2)0,
(ub4)phs->ora_maxarray_numentries, /* max elements that can fit in
allocated array */
- &(phs->array_numstruct), /* (ptr to) current number of elements
in array */
+ (ub4 *)&(phs->array_numstruct), /* (ptr to) current number of
elements in array */
OCI_DEFAULT, /* OCI_DATA_AT_EXEC (bind with
callbacks) or OCI_DEFAULT */
status
);
Modified: dbd-oracle/trunk/dbdimp.h
==============================================================================
--- dbd-oracle/trunk/dbdimp.h (original)
+++ dbd-oracle/trunk/dbdimp.h Wed Dec 5 07:49:51 2007
@@ -39,7 +39,8 @@
#include <oci.h>
#include <oratypes.h>
#include <ocidfn.h>
-
+#include <orid.h>
+#include <ori.h>
/* ------ end of Oracle include files ------ */