diff options
-rw-r--r-- | odb/oracle/traits.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/traits.hxx b/odb/oracle/traits.hxx index 6b42da7..d33f282 100644 --- a/odb/oracle/traits.hxx +++ b/odb/oracle/traits.hxx @@ -427,7 +427,7 @@ namespace odb set_value (T v, char* b, bool is_null) { if (!is_null) - v = details::number_to_uint64 (static_cast<unsigned long long> (b)); + v = static_cast<T> (details::number_to_uint64 (b)); else v = 0; } |