diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-05 08:37:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-05 08:57:19 +0200 |
commit | de2635357921729900d46bb12906cc2a339f9484 (patch) | |
tree | 5f8e42e897fea41c0561843515593e5eac972449 | |
parent | 597939bc9e36808d4a65b449f085927f26383c15 (diff) |
Use time_duration::sec_type instead of long
-rw-r--r-- | odb/boost/date-time/sqlite/posix-time-traits.hxx | 2 |
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 |