aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-12 16:52:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-12 16:52:21 +0200
commitea7c79895f87d6dd32679495affa7ff825f8c5ae (patch)
tree6daeac74ed3d2a5e32432bd24b9dce59cd4406af
parent9ecb6dc37b2843c61de0bd7978f74bb30d779528 (diff)
Suppress conversion warning
-rw-r--r--odb/qt/date-time/pgsql/qdate-traits.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/qt/date-time/pgsql/qdate-traits.hxx b/odb/qt/date-time/pgsql/qdate-traits.hxx
index 2e19da0..8f15b64 100644
--- a/odb/qt/date-time/pgsql/qdate-traits.hxx
+++ b/odb/qt/date-time/pgsql/qdate-traits.hxx
@@ -53,7 +53,7 @@ namespace odb
const QDate pg_epoch (2000, 1, 1);
// In Qt5 daysTo() returns qint64.
//
- i = endian_traits::hton<int> (pg_epoch.daysTo (v));
+ i = endian_traits::hton (static_cast<int> (pg_epoch.daysTo (v)));
}
}
};