aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/pgsql/statement.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/pgsql/statement.cxx b/odb/pgsql/statement.cxx
index 2584e08..45f0125 100644
--- a/odb/pgsql/statement.cxx
+++ b/odb/pgsql/statement.cxx
@@ -653,7 +653,7 @@ namespace odb
handle_.reset (
PQexecPrepared (conn_.handle (),
name_,
- in ? native_param_->count : 0,
+ in ? static_cast<int> (native_param_->count) : 0,
in ? native_param_->values : 0,
in ? native_param_->lengths : 0,
in ? native_param_->formats : 0,
@@ -778,7 +778,7 @@ namespace odb
auto_handle<PGresult> h (
PQexecPrepared (conn_.handle (),
name_,
- native_param_.count,
+ static_cast<int> (native_param_.count),
native_param_.values,
native_param_.lengths,
native_param_.formats,
@@ -870,7 +870,7 @@ namespace odb
auto_handle<PGresult> h (
PQexecPrepared (conn_.handle (),
name_,
- native_param_.count,
+ static_cast<int> (native_param_.count),
native_param_.values,
native_param_.lengths,
native_param_.formats,
@@ -959,7 +959,7 @@ namespace odb
auto_handle<PGresult> h (
PQexecPrepared (conn_.handle (),
name_,
- native_param_.count,
+ static_cast<int> (native_param_.count),
native_param_.values,
native_param_.lengths,
native_param_.formats,