diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-06-07 22:47:59 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-06-07 22:48:11 +0300 |
commit | e3c608545cedcd5202abb155bb94d17f7174451b (patch) | |
tree | 370c4a7c0b9a7d3cd646b12dc64f7071668016c9 | |
parent | daf69959dac784ed3aa0493c2570796a2d907d3d (diff) |
Get rid of VC 'possible loss of data' warnings
-rw-r--r-- | odb/oracle/statement.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx index 77a8a79..e64061e 100644 --- a/odb/oracle/statement.cxx +++ b/odb/oracle/statement.cxx @@ -111,7 +111,7 @@ namespace odb size, &pos, l->buffer->data (), - l->buffer->capacity ())) + static_cast<ub4> (l->buffer->capacity ()))) return OCI_ERROR; switch (pos) |