X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69fb24ce03b4dd40e7912936d628bea1719aaaa3..bcf324bebe65cd7ee49c139533ceea52dceb4b91:/src/unix/displayx11.cpp diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index de3a03b019..23d28857a6 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -71,7 +71,7 @@ public: operator const XineramaScreenInfo *() const { return m_screens; } - unsigned GetCount() const { return wx_static_cast(unsigned, m_num); } + unsigned GetCount() const { return static_cast(m_num); } private: XineramaScreenInfo *m_screens;