aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-31 11:22:47 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-01 13:21:26 +0200
commit3a26175dac1392eb1a4a55cc5b01fcca869d91a0 (patch)
treea6f9feabf5fbffaad87f2d7677c0228f09370c33
parentb7a9c4a4efecff45f35652e50d0ae56cea4ade42 (diff)
Correct placeholder variable type used in call to OCIAttrSet
-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);