replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -581,7 +581,7 @@ static wxString FileToCppArray(wxString filename, int num)
|
||||
wxASSERT_MSG( offset >= 0 , wxT("Invalid file length") );
|
||||
|
||||
const size_t lng = wx_truncate_cast(size_t, offset);
|
||||
wxASSERT_MSG( wx_static_cast(wxFileOffset, lng) == offset,
|
||||
wxASSERT_MSG( static_cast<wxFileOffset>(lng) == offset,
|
||||
wxT("Huge file not supported") );
|
||||
|
||||
snum.Printf(_T("%i"), num);
|
||||
@@ -735,7 +735,7 @@ static wxString FileToPythonArray(wxString filename, int num)
|
||||
wxASSERT_MSG( offset >= 0 , wxT("Invalid file length") );
|
||||
|
||||
const size_t lng = wx_truncate_cast(size_t, offset);
|
||||
wxASSERT_MSG( wx_static_cast(wxFileOffset, lng) == offset,
|
||||
wxASSERT_MSG( static_cast<wxFileOffset>(lng) == offset,
|
||||
wxT("Huge file not supported") );
|
||||
|
||||
snum.Printf(_T("%i"), num);
|
||||
|
Reference in New Issue
Block a user