X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/563a24f061c2830499871ee9c5883c1262ba366a..8d4ff849370781952d46cd78eb628a575ab3c688:/utils/wxrc/wxrc.cpp?ds=sidebyside diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index fef806dec4..940913e555 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -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(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(lng) == offset, wxT("Huge file not supported") ); snum.Printf(_T("%i"), num);