aboutsummaryrefslogtreecommitdiff
path: root/mssql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-17 16:44:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-20 15:45:47 +0200
commitb9e842132ce9d7f1edce15868d205a1e8c77816c (patch)
treee2790401e7249058bd6f000ad84ba52f1a8542bc /mssql
parent151e92a20374d9259d8a0686916293749740ed88 (diff)
Don't use 'D' suffix (for double) since it is not portable
Diffstat (limited to 'mssql')
-rw-r--r--mssql/types/driver.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/mssql/types/driver.cxx b/mssql/types/driver.cxx
index 005214a..3cef5ad 100644
--- a/mssql/types/driver.cxx
+++ b/mssql/types/driver.cxx
@@ -42,15 +42,15 @@ main (int argc, char* argv[])
o.sbint_ = -1234567890123456789LL;
o.fsm_ = -214748.3648F;
- o.dsm_ = 214748.3647D;
+ o.dsm_ = 214748.3647;
o.ism_ = -2147483647 -1;
- o.dm1_ = -922337203685477.5808D;
- o.dm2_ = 922337203685476.3520D; // 922337203685477.5807
+ o.dm1_ = -922337203685477.5808;
+ o.dm2_ = 922337203685476.3520; // 922337203685477.5807
o.im_ = 9223372036854775807LL;
o.f4_ = 123.123F;
- o.f8_ = 123.1234567D;
+ o.f8_ = 123.1234567;
o.schar_ = "short data char ";
o.svchar_ = "short data varchar";