fixed wxStrto(u)ll to return correct value in endptr

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-05-10 17:20:17 +00:00
parent cdff92b982
commit c57fe715b2

View File

@@ -1458,8 +1458,7 @@ static wxULongLong_t wxStrtoullBase(const wxChar* nptr, wxChar** endptr, int bas
if ( endptr )
{
const wxChar& endref = *i;
*endptr = &(wxChar&)endref;
*endptr = (wxChar*)(nptr + (i - wxstr.begin()));
}
return sum;