Remove extraneous float casts in strtod.c.

This commit is contained in:
Jeff Johnston 2016-12-16 11:32:25 -05:00
parent dd4a4baab0
commit 84e58ab648
1 changed files with 2 additions and 2 deletions

View File

@ -1301,7 +1301,7 @@ strtof_l (const char *__restrict s00, char **__restrict se, locale_t loc)
if (isinf (retval) && !isinf (val))
_REENT->_errno = ERANGE;
#endif
return (float)retval;
return retval;
}
float
@ -1317,7 +1317,7 @@ _DEFUN (strtof, (s00, se),
if (isinf (retval) && !isinf (val))
_REENT->_errno = ERANGE;
#endif
return (float)retval;
return retval;
}
#endif