aboutsummaryrefslogtreecommitdiff
path: root/pgsql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-07-25 21:52:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-07-25 21:52:57 +0200
commit0c99ca62128b333b95a3e0289f94affaf6f499f6 (patch)
tree36de4bb7d7a8bfd18c4ee82a641302d4ac986a33 /pgsql
parentfbcc669bfbef709ebd26de18d41cfae47918221e (diff)
Add type qualifier to large integer literals
Diffstat (limited to 'pgsql')
-rw-r--r--pgsql/types/driver.cxx4
1 files changed, 2 insertions, 2 deletions
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');