]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected VC++ compilo (not yet tested)
authorJulian Smart <julian@anthemion.co.uk>
Fri, 18 Aug 2006 15:27:30 +0000 (15:27 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 18 Aug 2006 15:27:30 +0000 (15:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/longlong.h

index 9b6553ea9a22eaaf282fb0b8b1921bc33400dd2d..b6cc42b479587bdb8c4e2508bbbf324dac5cc50d 100644 (file)
@@ -411,7 +411,11 @@ public:
     }
 
         // convert to double
+#ifdef _MSC_VER
+    double ToDouble() const { return wx_truncate_cast(double, (__int64) m_ll); }
+#else
     double ToDouble() const { return wx_truncate_cast(double, m_ll); }
+#endif
 
     // operations
         // addition