]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/spinctrl.cpp
Added missing include
[wxWidgets.git] / src / os2 / spinctrl.cpp
index 6fb50893aac3c162f6dea47561ec571e00a7faa5..2aeef5f3d78cd26f6a432c0b9483500f10115c66 100644 (file)
@@ -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