From: Vadim Zeitlin Date: Sun, 25 Nov 2007 14:28:54 +0000 (+0000) Subject: use size_t instead of unsigned int to avoid MSVC warnings about converting the former... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1b6d87d08ead7ab5a517d8dae42990417b2d1748 use size_t instead of unsigned int to avoid MSVC warnings about converting the former to the latter when compiling with /Wp64 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/arrstr.h b/include/wx/arrstr.h index a78d09e9dd..55de7f04f0 100644 --- a/include/wx/arrstr.h +++ b/include/wx/arrstr.h @@ -404,7 +404,7 @@ public: // default copy constructor is ok // iteration interface - unsigned int GetCount() const { return m_size; } + size_t GetCount() const { return m_size; } bool IsEmpty() const { return GetCount() == 0; } const wxString& operator[] (unsigned int i) const { @@ -429,7 +429,7 @@ private: }; wxStringContainerType m_type; - unsigned int m_size; + size_t m_size; union { const wxString * ptr;