From 0c99ca62128b333b95a3e0289f94affaf6f499f6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 25 Jul 2011 21:52:57 +0200 Subject: Add type qualifier to large integer literals --- pgsql/types/driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pgsql') diff --git a/pgsql/types/driver.cxx b/pgsql/types/driver.cxx index aba7220..745d2ee 100644 --- a/pgsql/types/driver.cxx +++ b/pgsql/types/driver.cxx @@ -40,8 +40,8 @@ main (int argc, char* argv[]) o.double_ = 1.123; o.date_ = 4015; - o.time_ = 48180000000; - o.timestamp_ = 346896000; + o.time_ = 48180000000LL; + o.timestamp_ = 346896000LL; string short_str (128, 's'); string medium_str (250, 'm'); -- cgit v1.1