X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/102540a046870ad87b46c6016743a2ab90dc0f13..9c34a216817028bc533e07873d047208a96b05a2:/include/wx/list.h?ds=inline diff --git a/include/wx/list.h b/include/wx/list.h index ed34130a16..7a96c25152 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -218,7 +218,7 @@ inline const void *wxListCastElementToVoidPtr(const wxString& str) } \ int IndexOf() const \ { \ - return *this ? std::distance( m_list->begin(), m_iter ) \ + return *this ? (int)std::distance( m_list->begin(), m_iter ) \ : wxNOT_FOUND; \ } \ }; \