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:
@@ -1458,8 +1458,7 @@ static wxULongLong_t wxStrtoullBase(const wxChar* nptr, wxChar** endptr, int bas
|
|||||||
|
|
||||||
if ( endptr )
|
if ( endptr )
|
||||||
{
|
{
|
||||||
const wxChar& endref = *i;
|
*endptr = (wxChar*)(nptr + (i - wxstr.begin()));
|
||||||
*endptr = &(wxChar&)endref;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return sum;
|
return sum;
|
||||||
|
Reference in New Issue
Block a user