diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-12-16 19:25:30 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-12-16 19:25:30 +0100 |
commit | f46f501471dc3505b0c920a61b14ec9551df40c7 (patch) | |
tree | d4934fb0055d225c3b23060e7d2307cafb5d7978 /newlib/libc/stdlib/wcstod.c | |
parent | 84e58ab64898b910b4456e85b9038db2523ccb26 (diff) | |
download | newlib-f46f501471dc3505b0c920a61b14ec9551df40c7.zip newlib-f46f501471dc3505b0c920a61b14ec9551df40c7.tar.gz newlib-f46f501471dc3505b0c920a61b14ec9551df40c7.tar.bz2 |
Remove extraneous float casts in wcstod.c.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdlib/wcstod.c')
-rw-r--r-- | newlib/libc/stdlib/wcstod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/wcstod.c b/newlib/libc/stdlib/wcstod.c index 9b7948e..605fca4 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 |