X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d870a03054ca05996857068c78f01b68fcf7b2a0..90527a50d74bed6ed6b4d163e8170ae8c3f5d869:/include/wx/longlong.h 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