X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d870a03054ca05996857068c78f01b68fcf7b2a0..38a097f588121ffcab2fa57e4494a6d0783c3567:/include/wx/longlong.h?ds=inline diff --git a/include/wx/longlong.h b/include/wx/longlong.h index 9b6553ea9a..b6cc42b479 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -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