aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-05 08:37:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-05 08:57:19 +0200
commitde2635357921729900d46bb12906cc2a339f9484 (patch)
tree5f8e42e897fea41c0561843515593e5eac972449 /odb/boost/date-time
parent597939bc9e36808d4a65b449f085927f26383c15 (diff)
Use time_duration::sec_type instead of long
Diffstat (limited to 'odb/boost/date-time')
-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