ShortFloat.st
changeset 22921 e4d0df1d04eb
parent 22920 ab4f159ef843
child 22922 ca17023b590e
--- a/ShortFloat.st	Mon May 14 10:34:33 2018 +0200
+++ b/ShortFloat.st	Mon May 14 12:56:20 2018 +0200
@@ -270,11 +270,10 @@
      if (__isStringLike(aString) && __isSmallInteger(startIndex)) {
 	char *cp = (char *)(__stringVal(aString));
 	int idx = __intVal(startIndex) - 1;
-	double atof();
-	double val;
+	double atof(const char *);
 
 	if ((unsigned)idx < __stringSize(aString)) {
-	    val = atof(cp + idx);
+	    double val = atof(cp + idx);
 	    RETURN (__MKSFLOAT(val));
 	}
      }