From e3c608545cedcd5202abb155bb94d17f7174451b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 7 Jun 2018 22:47:59 +0300 Subject: Get rid of VC 'possible loss of data' warnings --- odb/oracle/statement.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb') 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 (l->buffer->capacity ()))) return OCI_ERROR; switch (pos) -- cgit v1.1