X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9de1027152fd1bd3e8c0d9b5e9f4b19b0bbc3a10..cf283a470ab3eb4bc69959e3b5ae0edf30337fa5:/src/os2/spinctrl.cpp diff --git a/src/os2/spinctrl.cpp b/src/os2/spinctrl.cpp index 6fb50893aa..2aeef5f3d7 100644 --- a/src/os2/spinctrl.cpp +++ b/src/os2/spinctrl.cpp @@ -456,7 +456,7 @@ void wxSpinCtrl::SetValue( { long lVal; - lVal = atol((char*)rsText.c_str()); + lVal = atol(rsText.c_str()); wxSpinButton::SetValue(lVal); } // end of wxSpinCtrl::SetValue