From b9e842132ce9d7f1edce15868d205a1e8c77816c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 17 Jan 2012 16:44:57 +0200 Subject: Don't use 'D' suffix (for double) since it is not portable --- mssql/types/driver.cxx | 8 ++++---- 1 file 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"; -- cgit v1.1