aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/boost/date-time/sqlite/posix-time-traits.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/boost/date-time/sqlite/posix-time-traits.hxx b/odb/boost/date-time/sqlite/posix-time-traits.hxx
index 039682b..0b8b338 100644
--- a/odb/boost/date-time/sqlite/posix-time-traits.hxx
+++ b/odb/boost/date-time/sqlite/posix-time-traits.hxx
@@ -208,7 +208,7 @@ namespace odb
if (is_null)
v = time_duration (::boost::date_time::not_a_date_time);
else
- v = time_duration (0, 0, static_cast<long> (i));
+ v = time_duration (0, 0, static_cast<time_duration::sec_type> (i));
}
static void