diff --git a/newlib/libc/stdlib/wcstod.c b/newlib/libc/stdlib/wcstod.c index 9b7948e4f..605fca40b 100644 --- a/newlib/libc/stdlib/wcstod.c +++ b/newlib/libc/stdlib/wcstod.c @@ -282,7 +282,7 @@ wcstof_l (const wchar_t *__restrict nptr, wchar_t **__restrict endptr, if (isinf (retval) && !isinf (val)) _REENT->_errno = ERANGE; #endif - return (float)retval; + return retval; } float @@ -299,7 +299,7 @@ _DEFUN (wcstof, (nptr, endptr), _REENT->_errno = ERANGE; #endif - return (float)retval; + return retval; } #endif