aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-28 09:56:40 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-09-28 09:56:40 +0200
commit9681c508fa9614da936314b9913a5d6cb0342c62 (patch)
treec38dd5c2b3bc3147d542850d583a12ce104bd571
parent1c8492ba434b649bdff0f1a01299f7ad7af1e2d4 (diff)
Correct casting error in id_big_int default_value_traits specialization
-rw-r--r--odb/oracle/traits.hxx2
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;
}