aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/oracle/statement.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx
index bddd539..f29136a 100644
--- a/odb/oracle/statement.cxx
+++ b/odb/oracle/statement.cxx
@@ -297,9 +297,11 @@ namespace odb
|| OCI_MAJOR_VERSION > 11
if (p != 0)
{
+ ub4 n (static_cast<ub4> (p));
+
r = OCIAttrSet (h,
OCI_HTYPE_DEFINE,
- &p,
+ &n,
0,
OCI_ATTR_LOBPREFETCH_SIZE,
err);
@@ -419,9 +421,11 @@ namespace odb
|| OCI_MAJOR_VERSION > 11
if (p != 0)
{
+ ub4 n (static_cast<ub4> (p));
+
r = OCIAttrSet (h,
OCI_HTYPE_DEFINE,
- &p,
+ &n,
0,
OCI_ATTR_LOBPREFETCH_SIZE,
err);